Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2025-57052 EUVD-2025-26527GHSA-98j5-4649-rfv2

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 a…

Published Sep 3, 2025 · Updated Nov 3, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cjson 1.7.19-1 —
Debian 13 cjson 1.7.18-3.1+deb13u1 DSA-6001-1
Debian 12 cjson 1.7.15-1+deb12u4 DSA-6001-1
Debian 11 cjson 1.7.14-1+deb11u3 DLA-4304-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 cjson 1.7.18-3.1ubuntu0.1 USN-7973-1
Ubuntu 22.04 LTS cjson 1.7.15-1ubuntu0.1 USN-7973-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS cjson 1.7.17-1ubuntu0.1~esm3 USN-7973-1
Ubuntu Pro 20.04 LTS cjson 1.7.10-1.1ubuntu0.1~esm1 USN-7973-1
ReleasePackageFixed inAdvisory
Red Hat Satellite Capsule 6 cjson 1.7.18-2.el8sat RHSA-2025:17614, RHSA-2025:17613, RHSA-2025:17606
Red Hat Satellite Capsule 6 puppet-agent 7.34.0-4.el8sat RHSA-2025:17614, RHSA-2025:17613, RHSA-2025:17606
Red Hat Satellite Capsule 6 python-django +1 4.2.24-0.1.el8pc RHSA-2025:17614, RHSA-2025:17613, RHSA-2025:17606
Red Hat Satellite 6 cjson 1.7.18-2.el8sat RHSA-2025:17614, RHSA-2025:17613, RHSA-2025:17606
Red Hat Satellite 6 puppet-agent 7.34.0-4.el8sat RHSA-2025:17614, RHSA-2025:17613, RHSA-2025:17606
Red Hat Satellite 6 python-django +1 4.2.24-0.1.el8pc RHSA-2025:17614, RHSA-2025:17613, RHSA-2025:17606
ReleasePackageFixed inAdvisory
SLES 15 SP7 cJSON 1.7.19-150700.3.3.1 SUSE-SU-2025:03520-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cJSON 1.7.19-1.1 openSUSE-SU-2025:15583-1
openSUSE Leap 16.0 cJSON 1.7.19-160000.1.1 openSUSE-SU-2026:20340-1
ReleasePackageFixed inAdvisory
Alpine v3.24 cjson 1.7.19-r0 —
Alpine v3.23 cjson 1.7.19-r0 —
Alpine v3.22 cjson 1.7.19-r0 —
Alpine v3.21 cjson 1.7.19-r0 —
Alpine v3.20 cjson 1.7.19-r0 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 cjson 1.7.19-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • DhruvP2205/cjson-rust-port ★ 0 · Aug 2, 2026

    🦀 C→Rust port of DaveGamble/cJSON — 🧪 22/22 original tests unmodified, 🐛 70M+ fuzz comparisons/0 divergences, 🎯 CVE-2025-57052 fixed.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 10

References