cve.bz

CVE-2023-50472 davegamble cjson: NULL Pointer Dereference

7.5 highExploit referenceEPSS 1.0%Fix available

High (7.5) in davegamble cjson. EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
cJSON v1.7.16 was discovered to contain a segmentation violation via the function cJSON_SetValuestring at cJSON.c.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 63rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2024-08-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-50472 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-50472?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-50472?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-50472 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
davegamble:cjson1.7.16

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12cjson1.7.15-1+deb12u1DEBIAN-CVE-2023-50472
Debian13, 14cjson1.7.17-1DEBIAN-CVE-2023-50472
UbuntuPro:22.04:LTScjson1.7.15-1ubuntu0.1~esm2UBUNTU-CVE-2023-50472 USN-6784-1
UbuntuPro:24.04:LTScjson1.7.17-1ubuntu0.1~esm2USN-6784-1
Red Hatsatellite:6.15::el8, satellite_capsule:6.15::el8cjson, cjson-debuginfo, cjson-debugsource0:1.7.18-1.el8satRHSA-2025:9838
Red Hatsatellite:6.15::el8, satellite_capsule:6.15::el8python-sqlparse, python3.11-sqlparse0:0.5.0-1.el8pcRHSA-2025:9838
Red Hatsatellite:6.15::el8, satellite_capsule:6.15::el8rubygem-rack0:2.2.14-1.el8satRHSA-2025:9838
SUSEPackage Hub 15 SP5cJSON1.7.18-bp155.3.3.1openSUSE-SU-2024:0139-1
openSUSELeap 15.5cJSON1.7.18-bp155.3.3.1openSUSE-SU-2024:0139-1
openSUSETumbleweedcJSON1.7.17-1.1openSUSE-SU-2024:13537-1
Alpinev3.15, v3.16, v3.17 and 7 morecjson1.7.17-r0ALPINE-CVE-2023-50472
Azure Linux2apparmor3.0.4-3AZL-32207
Azure Linux3apparmor3.1.7-1AZL-67467
Alpaquita23, streamcjson1.7.17-r0BELL-CVE-2023-50472

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Satellite 6.15 for RHEL 8cjson-0:1.7.18-1.el8satFixed 2025-06-26RHSA-2025:9838

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-50472.

References

Check your stackJSON