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

Tue, 04 Nov 2025 04:30:00 +0900

Type Values Removed Values Added
References

Tue, 09 Sep 2025 02:45:00 +0900

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 09:15:00 +0900

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


Thu, 04 Sep 2025 05:30:00 +0900

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

Thu, 04 Sep 2025 03:15:00 +0900

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'}


Thu, 04 Sep 2025 00:00:00 +0900

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

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-11-03T18:13:42.953Z

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

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

Modified: 2025-11-03T19:16:12.460

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-04T05:26:48Z

Weaknesses