Skip to main content
Public proof of conceptFix available

CVE-2025-57052

A public proof of concept exists; no exploitation attested.

  • Published2025-09-03
  • WeaknessCWE-125 · CWE-129

Am I 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
  1. 2025-09-0315:15CVE publishedNVD

Versions per branch

NVD
Davegamble cjson
BranchAffectedFixed in
1.x≥ 1.5.0, ≤ 1.7.18no fix published

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

  • CVE-2025-57052 Red Hat Product Security16 products fixed

    cJSON: out-of-bounds access in decode_array_index_from_pointer() in cJSON_Utils.c via crafted JSON pointer strings

  • RHSA-2025:17614 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Satellite 6.15.5.5 Async Update

  • RHSA-2025:17613 Red Hat Product Security8 products fixed

    Red Hat Security Advisory: Satellite 6.16.5.4 Async Update

  • RHSA-2025:17606 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Satellite 6.17.5 Async Update

Full record on NVD

Fix

  1. 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
  2. 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
  3. 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
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2025-57052 actively exploited?

A proof-of-concept exploit exists for CVE-2025-57052, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-57052?

CVE-2025-57052 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

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

Sources for this record