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
Affects cjsonSource GCVE Database
Not known to be exploited · CVSS 7.6 High · fixed in 1.7.15-1ubuntu0.1~esm2 : patch cjson soon.
Data as of 24 Nov 2026, 21:14 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.7.15-1ubuntu0.1~esm2, 1.7.17-1ubuntu0.1~esm2
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:HExploitation evidence
Disclosed: evidence found.
CVE published 26 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade the Ubuntu cjson to 1.7.15-1ubuntu0.1~esm2 (package) or 1.7.17-1ubuntu0.1~esm2 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 24.04 LTScjsonpkg:deb/ubuntu/cjson?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTScjsonpkg:deb/ubuntu/cjson?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-31755 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-31755 (opens in a new tab)
- github.com/DaveGamble/cJSON/issues/839 (opens in a new tab)
- github.com/DaveGamble/cJSON/pull/840 (opens in a new tab)
- github.com/DaveGamble/cJSON/commit/7e4d5dabe7a9b754c601f214e65b544e67ba9f59 (opens in a new tab)
- github.com/DaveGamble/cJSON/pull/849/commits/18d1749e26eb1abe803bf49f383e72faec02da93 (opens in a new tab)
- ubuntu.com/security/notices/USN-6784-1 (opens in a new tab)