CVE-2026-67215: Uncontrolled recursion in cJSON JSON Patch processing
- Vendor
- Davegamble
cJSON through version 1.7.19 contains an uncontrolled-recursion vulnerability when processing RFC 6902 JSON Patch documents through cJSONUtils_ApplyPatches() or cJSONUtils_ApplyPatchesCaseSensitive(). Crafted add and copy operations can graft duplicated subtrees into a document, increasing its depth beyond the parser's 1000-level nesting limit. cJSON_Delete() performs recursive traversal without a depth bound, while cJSON_Duplicate() uses a CJSON_CIRCULAR_LIMIT of 10000, which is sufficiently high to exhaust a default thread stack. Applying an attacker-controlled patch can therefore crash the hosting process and cause denial of service.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation causes stack exhaustion and termination of the process using cJSON, disrupting the application or service it hosts. Availability impact is rated high; no confidentiality or integrity impact is identified. Network exploitation is possible when an application exposes the affected patch-processing functionality to remote input.
Mitigation
If you can’t patch tonight, do this now.
Avoid applying untrusted JSON Patch documents through the affected functions. Restrict patch submission to trusted sources and enforce operation limits and depth limits on the document produced by patch application, including intermediate results. Validation must account for subtree duplication by add and copy operations; limiting only the nesting depth of the incoming patch does not prevent document-depth amplification.
Remediation
Patch, then assume compromise.
Upgrade to a release explicitly confirmed to fix CVE-2026-67215 when available. A specific fixed version is not identified in the available information. If a verified fix is unavailable, consider replacing cJSON where attacker-controlled JSON Patch processing is required.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-67215 exploited in the wild?
- As of Nov 21, 2026, Mallory has no reports of CVE-2026-67215 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-67215?
- Yes. As of Nov 21, 2026, Mallory has reports of a public exploit for CVE-2026-67215.
- Is there a patch for CVE-2026-67215?
- Upgrade to a release explicitly confirmed to fix CVE-2026-67215 when available. A specific fixed version is not identified in the available information.
- What products are affected by CVE-2026-67215?
- Davegamble Cjson.
- How severe is CVE-2026-67215?
- CVE-2026-67215 has a CVSS v4 score of 8.7 (High) and an EPSS score of 0.70% (49th percentile) as of Nov 21, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.