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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-4304-1 cjson security update
Debian DSA Debian DSA DSA-6001-1 cjson security update
EUVD EUVD EUVD-2025-26527 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 08 Sep 2025 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Davegamble
Davegamble cjson
CPEs cpe:2.3:a:davegamble:cjson:*:*:*:*:*:*:*:*
Vendors & Products Davegamble
Davegamble cjson

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:

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 : Analyzed

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

Modified: 2025-09-08T17:37:25.397

Link: CVE-2025-57052

cve-icon Redhat

Severity : Important

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

Links: CVE-2025-57052 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2025-09-03T20:26:48Z