Bug 2524194 - CVE-2026-67215 cjson: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application [fedora-all]
Summary: CVE-2026-67215 cjson: cJSON: Denial of Service via uncontrolled recursion in ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: cjson
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Jonathan Wright
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["4819c77a-e354-4cf6-a7fb-f...
Depends On:
Blocks: CVE-2026-67215
TreeView+ depends on / blocked
 
Reported: 2026-08-25 23:08 UTC by Jon Weiser
Modified: 2026-08-25 23:08 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description Jon Weiser 2026-08-25 23:08:51 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 is vulnerable to uncontrolled recursion leading to stack exhaustion when an untrusted RFC 6902 JSON Patch is applied via cJSONUtils_ApplyPatches() or cJSONUtils_ApplyPatchesCaseSensitive(). A patch containing add and copy operations grafts duplicated subtrees to amplify document depth beyond the parser's nesting limit: cJSON_Delete() recurses with no depth bound, and the cJSON_Duplicate() guard CJSON_CIRCULAR_LIMIT is set to 10000, ten times the parser's 1000-level nesting limit and high enough to overflow a default thread stack. An attacker who can supply the patch document can crash the process, resulting in denial of service.


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