Bug 2508413 (CVE-2026-67215) - CVE-2026-67215 cJSON: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application
Summary: CVE-2026-67215 cJSON: cJSON: Denial of Service via uncontrolled recursion in ...
Keywords:
Status: NEW
Alias: CVE-2026-67215
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2524194 2524195 2524196 2524197 2524198
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-29 14:01 UTC by OSIDB Bzimport
Modified: 2026-08-25 23:14 UTC (History)
30 users (show)

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


Attachments (Terms of Use)

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