{"id":"DEBIAN-CVE-2026-67217","details":"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.","modified":"2026-09-14T17:03:28.442892989Z","published":"2026-07-29T14:16:35.477Z","upstream":["CVE-2026-67217"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-67217"}],"affected":[{"package":{"name":"cjson","ecosystem":"Debian:12","purl":"pkg:deb/debian/cjson?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.15-1","1.7.15-1+deb12u1","1.7.15-1+deb12u2","1.7.15-1+deb12u3","1.7.15-1+deb12u4","1.7.16-1","1.7.16-2","1.7.17-1","1.7.17-2","1.7.18-1","1.7.18-2","1.7.18-3","1.7.18-3.1","1.7.18-4","1.7.19-1","1.7.19-2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-67217.json"}},{"package":{"name":"cjson","ecosystem":"Debian:13","purl":"pkg:deb/debian/cjson?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.18-3.1","1.7.18-3.1+deb13u1","1.7.18-4","1.7.19-1","1.7.19-2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-67217.json"}},{"package":{"name":"cjson","ecosystem":"Debian:14","purl":"pkg:deb/debian/cjson?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.18-3.1","1.7.18-4","1.7.19-1","1.7.19-2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-67217.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/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"}]}