Bug 2523498 - CVE-2026-67217 mmc: cJSON: Data destruction due to non-atomic JSON Patch application [fedora-all]
Summary: CVE-2026-67217 mmc: cJSON: Data destruction due to non-atomic JSON Patch appl...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: mmc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Qianqian Fang
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["eebc43e4-43fe-4497-a6f9-a...
Depends On:
Blocks: CVE-2026-67217
TreeView+ depends on / blocked
 
Reported: 2026-08-25 14:38 UTC by jkelly
Modified: 2026-08-25 14:38 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description jkelly 2026-08-25 14:38:24 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.