CVE-2023-50472 json
cJSON v1.7.16 was discovered to contain a segmentation violation via the function cJSON_SetValuestring at cJSON.c.
published 2023-12-14 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-55257
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
Summary
cJSON v1.7.16 was discovered to contain a segmentation violation via the function cJSON_SetValuestring at cJSON.c.
Patch / fix
- cjson Debian 12 1.7.15-1+deb12u1
- cjson Debian 14, Debian 13 1.7.17-1
debian advisories DEBIAN-CVE-2023-50472
- cjson Ubuntu Pro 22.04 LTS 1.7.15-1ubuntu0.1~esm2
ubuntu advisories UBUNTU-CVE-2023-50472
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- cjson satellite capsule 6.15, satellite 6.15 1.7.18-1.el8sat
- rubygem-rack satellite capsule 6.15, satellite 6.15 2.2.14-1.el8sat
- python-sqlparse satellite capsule 6.15, satellite 6.15 0.5.0-1.el8pc
- python3.11-sqlparse satellite capsule 6.15, satellite 6.15 0.5.0-1.el8pc
red hat advisories RHSA-2025:9838
- cJSON openSUSE Tumbleweed 1.7.17-1.1
- cJSON Package Hub 15 SP5, openSUSE Leap 15.5 1.7.18-bp155.3.3.1
opensuse advisories openSUSE-SU-2024:13537-1openSUSE-SU-2024:0139-1
- cjson Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 1.7.17-r0
alpine advisories ALPINE-CVE-2023-50472
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- apparmor CBL-Mariner 2.0 3.0.4-3
- apparmor Azure Linux 3.0 3.1.7-1
azure linux advisories AZL-32207AZL-67467
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-50472 updated cvss 4.0
cjson: segmentation violation in function cJSON_SetValuestring
-
Red Hat Satellite 6.15 for RHEL 8 cjson 1.7.18-1.el8satfixed: vendor fix RHSA-2025:9838
-
Red Hat Satellite 6.15 for RHEL 8 satellite 6.15.5.3-1.el8sat, rubygem-rack 2.2.14-1.el8sat, python-sqlparse 0.5.0-1.el8pc, satellite-cli 6.15.5.3-1.el8sat, python3.11-sqlparse 0.5.0-1.el8pc, satellite-common 6.15.5.3-1.el8sat, +2 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.97% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/DaveGamble/cJSON/issues/803 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/DaveGamble/cJSON/issues/803
exploit, issue-tracking, patch, third-party-advisory
Sources
- CVE List CVE-2023-50472
- NVD CVE-2023-50472
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.