cJSON 1.5.0 through 1.7.18 allows out-of-bounds access via the decode_array_index_from_pointer function in cJSON_Utils.c, allowing remote attackers to bypass array bounds checking and access restricted data via malformed JSON pointer strings containing alphanumeric characters.
History

Thu, 04 Sep 2025 00:15:00 +0000

Type Values Removed Values Added
Title cJSON: out-of-bounds access in decode_array_index_from_pointer() in cJSON_Utils.c via crafted JSON pointer strings
References
Metrics threat_severity

None

threat_severity

Important


Wed, 03 Sep 2025 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Cjson Project
Cjson Project cjson
Vendors & Products Cjson Project
Cjson Project cjson

Wed, 03 Sep 2025 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
CWE-129
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 03 Sep 2025 15:00:00 +0000

Type Values Removed Values Added
Description cJSON 1.5.0 through 1.7.18 allows out-of-bounds access via the decode_array_index_from_pointer function in cJSON_Utils.c, allowing remote attackers to bypass array bounds checking and access restricted data via malformed JSON pointer strings containing alphanumeric characters.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2025-09-03T00:00:00.000Z

Updated: 2025-09-03T17:41:11.483Z

Reserved: 2025-08-17T00:00:00.000Z

Link: CVE-2025-57052

cve-icon Vulnrichment

Updated: 2025-09-03T17:38:12.817Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-09-03T15:15:38.250

Modified: 2025-09-04T15:36:56.447

Link: CVE-2025-57052

cve-icon Redhat

Severity : Important

Publid Date: 2025-09-03T00:00:00Z

Links: CVE-2025-57052 - Bugzilla