Bug 2508403 (CVE-2026-67217) - CVE-2026-67217 cJSON: cJSON: Data destruction due to non-atomic JSON Patch application
Summary: CVE-2026-67217 cJSON: cJSON: Data destruction due to non-atomic JSON Patch ap...
Keywords:
Status: NEW
Alias: CVE-2026-67217
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2523498
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-29 14:01 UTC by OSIDB Bzimport
Modified: 2026-08-25 14:38 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-29 14:01:21 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.