CVE-2026-67217 cJSON JSON Patch Non-Atomic Application Destroys Data Before Validation
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
cJSON through 1.7.19 applies RFC 6902 JSON Patch operations non-atomically in apply_patch() in cJSON_Utils.c. For a replace operation that is missing its value member, or a move operation whose destination path cannot be resolved, the existing target member is detached and deleted before the operation is fully validated, so the target document is mutated while cJSONUtils_ApplyPatches() or cJSONUtils_ApplyPatchesCaseSensitive() returns a failure status. An attacker who can supply the patch document can destroy addressable members of the target document even though the API reports that the patch failed, defeating the all-or-nothing behavior callers rely on to reject bad patches.
Upgrade path
8 packages: 1 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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 |
| 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 8 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/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 |
References
- Security vulnerabilities in the cJSON JSON parser (Joshua Rogers) exploit press-media-coverage third-party-advisory
- apply_patch delete-before-validate ordering (cJSON_Utils.c) patch technical-description
- VulnCheck Advisory: cJSON JSON Patch Non-Atomic Application Destroys Data Before Validation third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2508403 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-67217 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking