Description
cJSON v1.7.16 was discovered to contain a segmentation violation via the function cJSON_InsertItemInArray at cJSON.c.
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.17-1 | — |
| Debian 13 | cjson | 1.7.17-1 | — |
| Debian 12 | cjson | 1.7.15-1+deb12u1 | — |
| Debian 10 | cjson | 1.7.10-1.1+deb10u2 | DLA-3700-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | cjson | 1.7.17-1ubuntu0.1~esm2 | USN-6784-1 |
| Ubuntu Pro 22.04 LTS | cjson | 1.7.15-1ubuntu0.1~esm2 | USN-6784-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Satellite Capsule 6 | cjson | 1.7.18-1.el8sat | RHSA-2025:9838 |
| Red Hat Satellite Capsule 6 | python-sqlparse +1 | 0.5.0-1.el8pc | RHSA-2025:9838 |
| Red Hat Satellite Capsule 6 | rubygem-rack | 2.2.14-1.el8sat | RHSA-2025:9838 |
| Red Hat Satellite 6 | cjson | 1.7.18-1.el8sat | RHSA-2025:9838 |
| Red Hat Satellite 6 | python-sqlparse +1 | 0.5.0-1.el8pc | RHSA-2025:9838 |
| Red Hat Satellite 6 | rubygem-rack | 2.2.14-1.el8sat | RHSA-2025:9838 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP5 | cJSON | 1.7.18-bp155.3.3.1 | openSUSE-SU-2024:0139-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cJSON | 1.7.17-1.1 | openSUSE-SU-2024:13537-1 |
| openSUSE Leap 15.5 | cJSON | 1.7.18-bp155.3.3.1 | openSUSE-SU-2024:0139-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | cjson | 1.7.17-r0 | — |
| Alpine v3.23 | cjson | 1.7.17-r0 | — |
| Alpine v3.22 | cjson | 1.7.17-r0 | — |
| Alpine v3.21 | cjson | 1.7.17-r0 | — |
| Alpine v3.20 | cjson | 1.7.17-r0 | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | cjson | 1.7.17-r0 | — |
| Alpine v3.18 | cjson | 1.7.17-r0 | — |
| Alpine v3.17 | cjson | 1.7.17-r0 | — |
| Alpine v3.16 | cjson | 1.7.17-r0 | — |
| Alpine v3.15 | cjson | 1.7.17-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | apparmor | 3.1.7-1 | — |
| Azure Linux 2 (CBL-Mariner) | apparmor | 3.0.4-3 | — |
Advisories 5
- RHSA-2025:9838 Red Hat Security Advisory: Satellite 6.15.5.3 Async Update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- USN-6784-1 cjson vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-3700-1 cjson - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:0139-1 Security update for cJSON SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13537-1 cJSON-devel-1.7.17-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/DaveGamble/cJSON/issues/802
- [debian-lts-announce] 20231230 [SECURITY] [DLA 3700-1] cjson security update mailing-list
- FEDORA-2024-74563262c0 vendor-advisory
- FEDORA-2024-b93a6b1325 vendor-advisory
- FEDORA-2024-5b487ca10a vendor-advisory