CVE-2026-67217 Details
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.
A vulnerability exists in cJSON versions through 1.7.19, where JSON Patch operations are applied non-atomically. In the 'apply_patch()' function, a 'replace' operation missing its 'value' member, or a 'move' operation with an unresolved destination path, causes the target member to be deleted before the operation is fully validated. This premature deletion mutates the target document while the patch application reports a failure, allowing an attacker to destroy addressable members of the document without detection.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://joshua.hu/cjson-json-parser-cve-vulnerabilities | CISA-ADP | ExploitPress/Media CoverageThird Party Advisory |
| https://github.com/DaveGamble/cJSON/blob/v1.7.19/cJSON_Utils.c#L887-L948 | [email protected] | Patch |
| https://joshua.hu/cjson-json-parser-cve-vulnerabilities | [email protected] | ExploitPress/Media CoverageThird Party Advisory |
| https://www.vulncheck.com/advisories/cjson-json-patch-non-atomic-application-destroys-data-before-validation | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-696 | Incorrect Behavior Order | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| davegamble cjson | <= 1.7.19 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | Initial Analysis | [email protected] |
| Jul 29, 2026 | CVE Modified | [email protected] |
| Jul 29, 2026 | CVE Modified | CISA-ADP |
| Jul 29, 2026 | New CVE Received | [email protected] |