CVE-2024-31755: cjson_project cjson NULL Pointer Dereference
Vulnerability summary
CVE-2024-31755 is a high (CVSS 7.6) NULL Pointer Dereference vulnerability in cjson_project cjson. EPSS estimates a 0.65% chance of exploitation in the next 30 days, higher than 52.4% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 2Timeline
- 26-04-2024PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.6HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
- OSV · DebianEcosystem advisory · calculated7.6HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
- NVDNIST7.6HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
EPSS trend
Probability
0.65%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.65% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundCjson
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat3 products
- cjson< 0:1.7.18-1.el9sat | < 0:1.7.18-1.el8sat
- cjson-debuginfo< 0:1.7.18-1.el9sat | < 0:1.7.18-1.el8sat
- cjson-debugsource< 0:1.7.18-1.el9sat | < 0:1.7.18-1.el8sat
Cjson_project1 product
- cjson1.7.17
Debian1 product
- cjson< 1.7.15-1+deb12u2 | < 1.7.18-1
Mageia1 product
- cjson< 1.7.15-2.2.mga9
Opensuse1 product
- cJSON&distro=openSUSE Tumbleweed< 1.7.18-1.1
Ubuntu1 product
- cjson< 1.7.15-1ubuntu0.1~esm2 | < 1.7.17-1ubuntu0.1~esm2
6 vendors · 8 products