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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | cJSON | 1.7.19-150700.3.3.1 | SUSE-SU-2025:03520-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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.
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
- RHSA-2025:17614 Red Hat Security Advisory: Satellite 6.15.5.5 Async Update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2025:17606 Red Hat Security Advisory: Satellite 6.17.5 Async Update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2025:17613 Red Hat Security Advisory: Satellite 6.16.5.4 Async Update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-7973-1 cjson vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2026:20340-1 Security update for cJSON SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15583-1 cJSON-devel-1.7.19-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- DLA-4304-1 cjson - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-6001-1 cjson - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2025:03520-1 Security update for cJSON SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-2244 Red Hat Satellite (cJSON, django, rexml): Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 25, 2026