CVE-2026-67215 cJSON JSON Patch copy/add Uncontrolled Recursion Stack Exhaustion
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
cJSON through 1.7.19 is vulnerable to uncontrolled recursion leading to stack exhaustion when an untrusted RFC 6902 JSON Patch is applied via cJSONUtils_ApplyPatches() or cJSONUtils_ApplyPatchesCaseSensitive(). A patch containing add and copy operations grafts duplicated subtrees to amplify document depth beyond the parser's nesting limit: cJSON_Delete() recurses with no depth bound, and the cJSON_Duplicate() guard CJSON_CIRCULAR_LIMIT is set to 10000, ten times the parser's 1000-level nesting limit and high enough to overflow a default thread stack. An attacker who can supply the patch document can crash the process, resulting in denial of service.
Upgrade path
11 packages: 1 fixed, 10 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux apparmor(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| azure linux libglvnd(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 |
| redhat/cjson(Red Hat satellite 6) | All versions | 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 |
| 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 |
| redhat/cjson(Red Hat:satellite:6) | All versions | 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 |
Show 11 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/cjson(Debian:14) | All versions | No fix listed |
| 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/cjson(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/cjson(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/cjson(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/cjson(Ubuntu:26.10) | All versions | No fix listed |
| azure linux libglvnd(Azure Linux:3.0) | 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_Delete unbounded recursion (cJSON.c) patch technical-description
- apply_patch copy/add duplicate-and-graft (cJSON_Utils.c) patch technical-description
- VulnCheck Advisory: cJSON JSON Patch copy/add Uncontrolled Recursion Stack Exhaustion third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2508413 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-67215 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking