CVE-2025-57052
JSON

9.8critical

cJSON 1.5.0 through 1.7.18 allows out-of-bounds access via the decodearrayindexfrompointer function in cJSONUtils.c, allowing remote attack…

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.82% (higher than 58% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
davegamble cjsonfrom 1.5.0 up to 1.7.18NVD

Classification

CWE-125CWE-129

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

cJSON 1.5.0 hasta 1.7.18 permite acceso fuera de límites a través de la función decode_array_index_from_pointer en cJSON_Utils.c, permitiendo a atacantes remotos eludir la verificación de límites de arrays y acceder a datos restringidos a través de cadenas de puntero JSON malformadas que contienen caracteres alfanuméricos.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-57052 changed 2025-11-03CVE Terms of Use
NVDCVE-2025-57052 changed 2026-11-07Public domain