<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>CJSON &lt;= 1.7.19 - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/cjson--1.7.19/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 29 Jul 2026 14:20:12 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/cjson--1.7.19/feed.xml" rel="self" type="application/rss+xml"/><item><title>Denial of Service Vulnerability in cJSON Library (CVE-2026-67215)</title><link>https://feed.craftedsignal.io/briefs/2026-07-cve-2026-67215-cjson-dos/</link><pubDate>Wed, 29 Jul 2026 14:20:12 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-cve-2026-67215-cjson-dos/</guid><description>CVE-2026-67215 describes a denial-of-service vulnerability in cJSON through version 1.7.19, where an attacker can trigger uncontrolled recursion and stack exhaustion by supplying a crafted RFC 6902 JSON Patch to cJSONUtils_ApplyPatches() or cJSONUtils_ApplyPatchesCaseSensitive(), leading to process crash.</description><content:encoded><![CDATA[<p>CVE-2026-67215 details a high-severity denial-of-service vulnerability affecting the cJSON library through version 1.7.19. This flaw stems from uncontrolled recursion when applying a specially crafted RFC 6902 JSON Patch via the <code>cJSONUtils_ApplyPatches()</code> or <code>cJSONUtils_ApplyPatchesCaseSensitive()</code> functions. An attacker can create a JSON Patch that, through <code>add</code> and <code>copy</code> operations, grafts duplicated subtrees within a JSON document. This process amplifies the document's depth beyond the parser's intended nesting limits, eventually reaching the <code>CJSON_CIRCULAR_LIMIT</code> configured in the library. When the affected application attempts to free this malformed JSON structure using <code>cJSON_Delete()</code>, the recursive deletion process, which lacks a depth bound, causes stack exhaustion and crashes the process. This allows an unauthenticated attacker to induce a denial-of-service condition in any application using the vulnerable cJSON version to process untrusted JSON patches.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker prepares a malicious RFC 6902 JSON Patch document containing <code>add</code> and <code>copy</code> operations designed to duplicate and graft subtrees.</li>
<li>The attacker submits this malicious JSON Patch to an application that uses the vulnerable <code>cJSONUtils_ApplyPatches()</code> or <code>cJSONUtils_ApplyPatchesCaseSensitive()</code> functions.</li>
<li>The <code>cJSON</code> library applies the patch, creating a JSON document with an excessively deep structure, exceeding the parser's 1000-level nesting limit and potentially the <code>CJSON_CIRCULAR_LIMIT</code> (10000).</li>
<li>When the application later attempts to free the malformed JSON document using <code>cJSON_Delete()</code>, the function initiates an uncontrolled recursive traversal.</li>
<li>The unbounded recursion within <code>cJSON_Delete()</code> causes the application's thread stack to exhaust.</li>
<li>The stack exhaustion leads to an application crash.</li>
<li>The application becomes unavailable, resulting in a denial-of-service condition for legitimate users.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-67215 results in a denial-of-service condition for applications utilizing the vulnerable cJSON library (versions through 1.7.19). An attacker can crash the target process by supplying a crafted JSON Patch, rendering the service or application inaccessible. While no specific victim counts or targeted sectors are mentioned, any application processing untrusted RFC 6902 JSON Patches with affected cJSON versions is susceptible to this availability impact.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Upgrade the <code>cJSON</code> library to a version patched against CVE-2026-67215 immediately.</li>
<li>Implement robust input validation and sanitization for all incoming RFC 6902 JSON Patch documents to prevent malicious structures from being processed by <code>cJSONUtils_ApplyPatches()</code> or <code>cJSONUtils_ApplyPatchesCaseSensitive()</code>.</li>
<li>Monitor application logs for sudden process crashes or stack overflow errors, which could indicate attempted exploitation of CVE-2026-67215.</li>
</ol>
]]></content:encoded><category domain="severity">low</category><category domain="type">advisory</category><category>denial-of-service</category><category>vulnerability</category><category>cJSON</category></item></channel></rss>