CVE-2026-67215
published 2026-07-29CVE-2026-67215: cJSON through 1.7.19 is vulnerable to uncontrolled recursion leading to stack exhaustion when an untrusted RFC 6902 JSON Patch is applied via…
PriorityP342high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.70%
52.6th percentile
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.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| davegamble | cjson | <= 1.7.19 | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv4.08.7HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
cJSON: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application
vendor_redhat·2026-07-29·CVSS 7.5
CVE-2026-67215 [HIGH] CWE-770 cJSON: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application
cJSON: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application
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.
A flaw was found in cJSON. A remote attacker can exploi
GHSA
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_ApplyPatchesCaseSe
ghsa_unreviewed·2026-07-29
CVE-2026-67215 [HIGH] CWE-674 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_ApplyPatchesCaseSe
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-67215 mmc: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application [fedora-all]
bugzilla·2026-08-25·CVSS 7.5
CVE-2026-67215 [HIGH] CVE-2026-67215 mmc: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application [fedora-all]
CVE-2026-67215 mmc: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application [fedora-all]
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 ti
Bugzilla
CVE-2026-67215 cjson: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application [epel-all]
bugzilla·2026-08-25·CVSS 7.5
CVE-2026-67215 [HIGH] CVE-2026-67215 cjson: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application [epel-all]
CVE-2026-67215 cjson: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application [epel-all]
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 ti
Bugzilla
CVE-2026-67215 dcm2niix: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application [fedora-all]
bugzilla·2026-08-25·CVSS 7.5
CVE-2026-67215 [HIGH] CVE-2026-67215 dcm2niix: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application [fedora-all]
CVE-2026-67215 dcm2niix: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application [fedora-all]
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, t
Bugzilla
CVE-2026-67215 86box: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application [fedora-all]
bugzilla·2026-08-25·CVSS 7.5
CVE-2026-67215 [HIGH] CVE-2026-67215 86box: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application [fedora-all]
CVE-2026-67215 86box: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application [fedora-all]
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
Bugzilla
CVE-2026-67215 cjson: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application [fedora-all]
bugzilla·2026-08-25·CVSS 7.5
CVE-2026-67215 [HIGH] CVE-2026-67215 cjson: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application [fedora-all]
CVE-2026-67215 cjson: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application [fedora-all]
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
Bugzilla
CVE-2026-67215 cJSON: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application
bugzilla·2026-07-29·CVSS 7.5
CVE-2026-67215 [HIGH] CVE-2026-67215 cJSON: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application
CVE-2026-67215 cJSON: cJSON: Denial of Service via uncontrolled recursion in JSON Patch application
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.
https://github.com/DaveGamble/cJSON/blob/v1.7.19/cJSON.c#L253-L261https://github.com/DaveGamble/cJSON/blob/v1.7.19/cJSON_Utils.c#L906-L940https://joshua.hu/cjson-json-parser-cve-vulnerabilitieshttps://www.vulncheck.com/advisories/cjson-json-patch-copy-add-uncontrolled-recursion-stack-exhaustionhttps://joshua.hu/cjson-json-parser-cve-vulnerabilities
2026-07-29
Published