CVE-2025-57052

CRITICAL
Published Sep 3, 2025 Modified Nov 3, 2025 CWE-125 CWE-129

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.

CVSS v3.1 Score

9.8
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness Type (CWE)

CWE-125 Out-of-bounds Read
CWE-129 CWE-129

Affected Products

Vendor Product
davegamble cjson

References

Frequently Asked Questions

What is CVE-2025-57052? +
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. It has a CVSS v3.1 base score of 9.8 (CRITICAL).
How severe is CVE-2025-57052? +
CVE-2025-57052 has a CVSS v3.1 score of 9.8 out of 10, rated CRITICAL. This is a critical vulnerability that should be patched immediately.
What products are affected by CVE-2025-57052? +
CVE-2025-57052 affects products from davegamble, specifically: cjson. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-57052? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-57052 — free, no signup required.

Start Free Scan