CVE-2025-57052
published critical CVSS 3.1 · 9.8cJSON: out-of-bounds access in decode_array_index_from_pointer() in cJSON_Utils.c via crafted JSON pointer strings
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | cjson | Fixed | 1.7.19-r0 | Package fix record |
| Debian | bookworm | cjson | Advisory build | 1.7.15-1+deb12u4 | DSA-6001-1 |
| SUSE / openSUSE | SLE-15-SP7 | libcjson1x86_64 | Advisory build | 1.7.19-150700.3.3.1 | SUSE-SU-2025:03520-1 |
| Ubuntu | focal | cjson | Advisory build | 1.7.10-1.1ubuntu0.1~esm1 | USN-7973-1 |
| Alpine Linux | v3.19 | cjson | Fixed | 1.7.19-r0 | Package fix record |
| Alpine Linux | v3.20 | cjson | Fixed | 1.7.19-r0 | Package fix record |
| Alpine Linux | v3.21 | cjson | Fixed | 1.7.19-r0 | Package fix record |
Show 28 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.22 | cjson | Fixed | 1.7.19-r0 | Package fix record |
| Alpine Linux | v3.23 | cjson | Fixed | 1.7.19-r0 | Package fix record |
| Alpine Linux | v3.24 | cjson | Fixed | 1.7.19-r0 | Package fix record |
| Debian | bullseye | cjson | Advisory build | 1.7.14-1+deb11u3 | DLA-4304-1 |
| Debian | trixie | cjson | Advisory build | 1.7.18-3.1+deb13u1 | DSA-6001-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cJSON-develaarch64 | Advisory build | 1.7.19-160000.1.1 | OPENSUSE-SU-2026:20340-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cJSON-develppc64le | Advisory build | 1.7.19-160000.1.1 | OPENSUSE-SU-2026:20340-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cJSON-devels390x | Advisory build | 1.7.19-160000.1.1 | OPENSUSE-SU-2026:20340-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cJSON-develx86_64 | Advisory build | 1.7.19-160000.1.1 | OPENSUSE-SU-2026:20340-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libcjson1aarch64 | Advisory build | 1.7.19-160000.1.1 | OPENSUSE-SU-2026:20340-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libcjson1ppc64le | Advisory build | 1.7.19-160000.1.1 | OPENSUSE-SU-2026:20340-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libcjson1s390x | Advisory build | 1.7.19-160000.1.1 | OPENSUSE-SU-2026:20340-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libcjson1x86_64 | Advisory build | 1.7.19-160000.1.1 | OPENSUSE-SU-2026:20340-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cJSON-develaarch64 | Advisory build | 1.7.19-1.1 | OPENSUSE-SU-2025:15583-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cJSON-develppc64le | Advisory build | 1.7.19-1.1 | OPENSUSE-SU-2025:15583-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cJSON-devels390x | Advisory build | 1.7.19-1.1 | OPENSUSE-SU-2025:15583-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cJSON-develx86_64 | Advisory build | 1.7.19-1.1 | OPENSUSE-SU-2025:15583-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcjson1aarch64 | Advisory build | 1.7.19-1.1 | OPENSUSE-SU-2025:15583-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcjson1ppc64le | Advisory build | 1.7.19-1.1 | OPENSUSE-SU-2025:15583-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcjson1s390x | Advisory build | 1.7.19-1.1 | OPENSUSE-SU-2025:15583-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcjson1x86_64 | Advisory build | 1.7.19-1.1 | OPENSUSE-SU-2025:15583-1 |
| Ubuntu | focal | libcjson1 | Advisory build | 1.7.10-1.1ubuntu0.1~esm1 | USN-7973-1 |
| Ubuntu | jammy | cjson | Advisory build | 1.7.15-1ubuntu0.1 | USN-7973-1 |
| Ubuntu | jammy | libcjson1 | Advisory build | 1.7.15-1ubuntu0.1 | USN-7973-1 |
| Ubuntu | noble | cjson | Advisory build | 1.7.17-1ubuntu0.1~esm3 | USN-7973-1 |
| Ubuntu | noble | libcjson1 | Advisory build | 1.7.17-1ubuntu0.1~esm3 | USN-7973-1 |
| Ubuntu | questing | cjson | Advisory build | 1.7.18-3.1ubuntu0.1 | USN-7973-1 |
| Ubuntu | questing | libcjson1 | Advisory build | 1.7.18-3.1ubuntu0.1 | USN-7973-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
3- n/a
- CWE-129 CWE-129 Improper Validation of Array Index
- CWE-125 CWE-125 Out-of-bounds Read
References
2Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cd6edb855218dbbfea13a9dcfe533d3e5193f02778ef95cacd343a84112bcccd
- Ingested
- 23 Sep 2026, 08:53:41 UTC
- Source record
- Official CVE record