CVEfocus › CVE database › CVE-2025-57052

CVE-2025-57052

CVSS 9.8 CriticalEPSS 1.0% (higher than 63% of CVEs)Published 2025-09-03Updated 2025-11-03Assigner: mitre

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.

CWE-125CWE-129

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
2Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04cjsonNot affected
vulnerable_code_not_present
Ubuntu 25.10cjsonFixed1.7.18-3.1ubuntu0.1UBUNTU-CVE-2025-57052
Ubuntu 24.04cjsonFix pending1.7.17-1ubuntu0.1~esm3 (Ubuntu Pro)UBUNTU-CVE-2025-57052
Ubuntu 22.04cjsonFixed1.7.15-1ubuntu0.1UBUNTU-CVE-2025-57052
Ubuntu 20.04cjsonFix pending1.7.10-1.1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-57052
Debian 14cjsonFixed1.7.19-1DEBIAN-CVE-2025-57052
Debian 13cjsonFixed1.7.18-3.1+deb13u1DEBIAN-CVE-2025-57052
Debian 12cjsonFixed1.7.15-1+deb12u4DEBIAN-CVE-2025-57052
Alpine Linux 3.24cjsonFixed1.7.19-r0ALPINE-CVE-2025-57052
Alpine Linux 3.23cjsonFixed1.7.19-r0ALPINE-CVE-2025-57052
Alpine Linux 3.22cjsonFixed1.7.19-r0ALPINE-CVE-2025-57052
Alpine Linux 3.21cjsonFixed1.7.19-r0ALPINE-CVE-2025-57052
Alpine Linux 3.20cjsonFixed1.7.19-r0ALPINE-CVE-2025-57052
Alpine Linux 3.19cjsonFixed1.7.19-r0ALPINE-CVE-2025-57052

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.