CVE-2026-67216 cJSON cJSON_Compare Exponential Complexity Denial of Service
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
19 packages: 1 fixed, 18 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux apparmor(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| debian/cjson(Debian 12) | = 1.7.15-1; = 1.7.15-1+deb12u1; = 1.7.15-1+deb12u2; = 1.7.15-1+deb12u3 +13 more | No fix listed | No fix yet |
| debian/cjson(Debian 13) | = 1.7.18-3.1; = 1.7.18-3.1+deb13u1; = 1.7.18-4; = 1.7.19-1 +2 more | No fix listed | No fix yet |
| debian/cjson(Debian 14) | = 1.7.18-3.1; = 1.7.18-4; = 1.7.19-1; = 1.7.19-2 +1 more | No fix listed | No fix yet |
| ubuntu/cjson(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/cjson(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/cjson(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/cjson(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/iperf3(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/iperf3(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/iperf3(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/iperf3(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/mapcache(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/mapcache(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/mapcache(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/mapcache(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/sail-ocaml(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/sail-ocaml(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| DaveGamble cJSON | <= 1.7.19 | after 1.7.19 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| DaveGamble cJSON | <= 1.7.19 | No fix listed |
| debian/cjson(Debian:12) | All versions | No fix listed |
| debian/cjson(Debian:12) | = 1.7.15-1 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.15-1+deb12u1 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.15-1+deb12u2 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.15-1+deb12u3 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.15-1+deb12u4 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.16-1 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.16-2 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.17-1 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.17-2 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.18-1 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.18-2 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.18-3 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.18-3.1 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.18-4 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.19-1 | No fix listed |
| debian/cjson(Debian:12) | = 1.7.19-2 | No fix listed |
| debian/cjson(Debian:13) | All versions | No fix listed |
| debian/cjson(Debian:13) | = 1.7.18-3.1 | No fix listed |
| debian/cjson(Debian:13) | = 1.7.18-3.1+deb13u1 | No fix listed |
| debian/cjson(Debian:13) | = 1.7.18-4 | No fix listed |
| debian/cjson(Debian:13) | = 1.7.19-1 | No fix listed |
| debian/cjson(Debian:13) | = 1.7.19-2 | No fix listed |
| debian/cjson(Debian:14) | All versions | No fix listed |
Show 19 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/cjson(Debian:14) | = 1.7.18-3.1 | No fix listed |
| debian/cjson(Debian:14) | = 1.7.18-4 | No fix listed |
| debian/cjson(Debian:14) | = 1.7.19-1 | No fix listed |
| debian/cjson(Debian:14) | = 1.7.19-2 | No fix listed |
| ubuntu/mapcache(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/cjson(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/iperf3(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/mapcache(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/cjson(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/iperf3(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/cjson(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/iperf3(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/mapcache(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/sail-ocaml(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/cjson(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/iperf3(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/mapcache(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/sail-ocaml(Ubuntu:26.10) | All versions | No fix listed |
| azure linux apparmor(Azure Linux:3.0) | All versions | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Security vulnerabilities in the cJSON JSON parser (Joshua Rogers) exploit press-media-coverage third-party-advisory
- cJSON_Compare double-recursion object comparison (cJSON.c) patch technical-description
- VulnCheck Advisory: cJSON cJSON_Compare Exponential Complexity Denial of Service third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2508418 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-67216 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking