CVE-2026-67216: davegamble cjson Inefficient Algorithmic Complexity
Vulnerability summary
CVE-2026-67216 is a high (CVSS 8.2) Inefficient Algorithmic Complexity vulnerability in davegamble cjson. EPSS estimates a 0.65% chance of exploitation in the next 30 days, higher than 49.9% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 29-07-2026PublishedVulnerability first disclosed.
- 30-07-2026Last modifiedVulnerability information updated.
Description
cJSON through 1.7.19 contains an inefficient algorithmic complexity flaw in cJSON_Compare(). When comparing objects, the function recurses into each shared subtree twice, once in each direction, with no depth guard, making the running time exponential in nesting depth. A small, deeply nested document of a few hundred bytes (depth around 40) compared for equality consumes hours of CPU, and the cost roughly doubles with each additional level of nesting. An application that calls cJSON_Compare() on attacker-influenced JSON that is structurally equal to a reference document is exposed to a denial-of-service condition.
CVSS metrics
7 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- NVDNIST8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.65%
Chance of exploitation in the next 30 days
Percentile
50%
Versus all other CVEs
30-day change
+0.22 pp
From 0.43% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (joshua.hu)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Ubuntu4 products
- cjsonAll versions (No fix recorded)
- iperf3All versions (No fix recorded)
- mapcacheAll versions (No fix recorded)
- sail-ocamlAll versions (No fix recorded)
Davegamble1 product
- cjson≤ 1.7.19
Debian1 product
- cjsonAll versions (No fix recorded)
3 vendors · 6 products
References
6 links- joshua.hu/cjson-json-parser-cve-vulnerabilitiesExploitREPORTPress/Media CoverageThird Party Advisory