Skip to main content
CVE-2025-57052VulnerabilityPublished Updated

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

Affects cjsonSource GCVE Database

0
Compare
Authoritative record:CVE-2025-57052· Critical 9.8

Not known to be exploited · CVSS 9.8 Critical · fixed in 1.7.10-1.1ubuntu0.1~esm1 : patch cjson as a priority.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CISA-ADPCVSS 3.19.8
EPSS
0.8% chance of exploitation in 30 days – higher than 57% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.7.10-1.1ubuntu0.1~esm1, 1.7.15-1ubuntu0.1, 1.7.17-1ubuntu0.1~esm3 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 25.10cjsonpkg:deb/ubuntu/cjson?arch=source&distro=questingOther threatsAffected
  • <1.7.18-3.1ubuntu0.1
Fixed in
  • 1.7.18-3.1ubuntu0.1
Ubuntu Pro 24.04 LTScjsonpkg:deb/ubuntu/cjson?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <1.7.17-1ubuntu0.1~esm3
Fixed in
  • 1.7.17-1ubuntu0.1~esm3
Ubuntu 22.04 LTScjsonpkg:deb/ubuntu/cjson?arch=source&distro=jammyOther threatsAffected
  • <1.7.15-1ubuntu0.1
Fixed in
  • 1.7.15-1ubuntu0.1
Ubuntu Pro 20.04 LTScjsonpkg:deb/ubuntu/cjson?arch=source&distro=esm-apps/focalOther threatsAffected
  • <1.7.10-1.1ubuntu0.1~esm1
Fixed in
  • 1.7.10-1.1ubuntu0.1~esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…