cve.bz

CVE-2024-31755 cjson project cjson: NULL Pointer Dereference

7.6 highExploit referenceEPSS 0.6%

High (7.6) in cjson project cjson. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
cJSON v1.7.17 was discovered to contain a segmentation violation, which can trigger through the second parameter of function cJSON_SetValuestring at cJSON.c.

Severity

CVSS 3.1

7.6 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd 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: no · Technical impact: partial, assessed 2024-04-29. 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
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-31755 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-31755?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-31755?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-2024-31755 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
cjson_project:cjson1.7.17

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12cjson1.7.15-1+deb12u2DEBIAN-CVE-2024-31755
Debian13, 14cjson1.7.18-1DEBIAN-CVE-2024-31755
UbuntuPro:22.04:LTScjson1.7.15-1ubuntu0.1~esm2UBUNTU-CVE-2024-31755 USN-6784-1
UbuntuPro:24.04:LTScjson1.7.17-1ubuntu0.1~esm2UBUNTU-CVE-2024-31755 USN-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
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8cjson, cjson-debuginfo, cjson-debugsource0:1.7.18-1.el8satRHSA-2025:9203
Red Hatsatellite:6.16::el9, satellite_capsule:6.16::el9cjson, cjson-debuginfo, cjson-debugsource0:1.7.18-1.el9satRHSA-2025:9203
Red Hatsatellite:6.17::el9, satellite_capsule:6.17::el9cjson, cjson-debuginfo, cjson-debugsource0:1.7.18-1.el9satRHSA-2025:9022
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.18-1.1openSUSE-SU-2024:14021-1
Azure Linux2apparmor3.0.4-4AZL-40184
Azure Linux3apparmor3.1.7-1AZL-67458
Alpaquitastreamcjson1.7.18-r1BELL-CVE-2024-31755

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; 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 · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Satellite 6.15 is affected by this vulnerability as it ships a vulnerable version of cjSON.

Red Hat's mitigation

Currently, there's no available mitigation that matches Red Hat's mitigation criteria other than updating the affected packages.

ProductPackageStateAdvisory
Red Hat Satellite 6.15 for RHEL 8cjson-0:1.7.18-1.el8satFixed 2025-06-26RHSA-2025:9838
Red Hat Satellite 6.16 for RHEL 8cjson-0:1.7.18-1.el8satFixed 2025-06-17RHSA-2025:9203
Red Hat Satellite 6.16 for RHEL 9cjson-0:1.7.18-1.el9satFixed 2025-06-17RHSA-2025:9203
Red Hat Satellite 6.17 for RHEL 9cjson-0:1.7.18-1.el9satFixed 2025-06-12RHSA-2025:9022

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-2024-31755.

References

Check your stackJSON