CVE-2025-57052
A public proof of concept exists; no exploitation attested.
- Published2025-09-03
- WeaknessCWE-125 · CWE-129
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-09-0315:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.x | ≥ 1.5.0, ≤ 1.7.18 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- cjsonUbuntu:Pro:24.04:LTSall versions · fixed in 1.7.17-1ubuntu0.1~esm3
- cjsonUbuntu:Pro:20.04:LTSall versions · fixed in 1.7.10-1.1ubuntu0.1~esm1
- cjsonUbuntu:25.10all versions · fixed in 1.7.18-3.1ubuntu0.1
- cjsonUbuntu:22.04:LTSall versions · fixed in 1.7.15-1ubuntu0.1
- cjsonRed Hat:satellite:6.17::el9all versions · fixed in 0:1.7.18-2.el9satand 2 other packages
- cjsonRed Hat:satellite:6.16::el9all versions · fixed in 0:1.7.18-2.el9satand 2 other packages
- cjsonRed Hat:satellite:6.16::el8all versions · fixed in 0:1.7.18-2.el8satand 2 other packages
- cjsonRed Hat:satellite:6.15::el8all versions · fixed in 0:1.7.18-2.el8satand 2 other packages
39 more package ranges on OSV.dev
Vendor advisories
cJSON: out-of-bounds access in decode_array_index_from_pointer() in cJSON_Utils.c via crafted JSON pointer strings
Red Hat Security Advisory: Satellite 6.15.5.5 Async Update
Red Hat Security Advisory: Satellite 6.16.5.4 Async Update
Red Hat Security Advisory: Satellite 6.17.5 Async Update
Fix
- Vendor fix Red Hat Product Security RHSA-2025:17614 · 8 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2025:17606 · 8 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For detailed instructions how to apply this update, refer to: https://access.redhat.com/documentation/en-us/red_hat_satellite/6.17/html/updating_red_hat_satellite/index
- Workaround from the vendor Red Hat Product Security RHSA-2025:17614 · 25 productsApplications can validate the JSON pointer strings, ensuring they contain only numeric indexes, before calling the cJSON JSON Pointer API functions.
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-09-03
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01DhruvP2205/cjson-rust-port
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-11-07
- CISA-ADPSSVC decisionpoc2025-09-03
- CISA-ADPCVSS 3.19.82025-09-03
- CISA-ADPweakness (CWE)CWE-125, CWE-1292025-09-03
- FIRST EPSSEPSS score0.8 %2026-11-09
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2025-26527same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-98j5-4649-rfv2same flawGitHub Advisory Database · CC-BY-4.0
- DLA-4304-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-6001-1advisory covering several CVEsDebian · LicenseRef-unstated
- OESA-2025-2374advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-2375advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-2376advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-2377advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-2491advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2025:15583-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:20340-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2025:17606advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:17613advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:17614advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2025:03520-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-7973-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2025-09-03
- Last Modified
- 2026-11-07
- NVD status
- Modified
- GitHub Advisory
- GHSA-98j5-4649-rfv2
Frequently asked questions
What is CVE-2025-57052?
Is CVE-2025-57052 actively exploited?
What is the CVSS score for CVE-2025-57052?
Running cJSON? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-98j5-4649-rfv2
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0