Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilityproof-of-concept-release

cJSON JSON Patch Flaw Enables Stack Exhaustion Denial of Service

Vulnerability Disclosure · 2 sources · Updated 4mo ago · First seen Jul 29, 2026

cJSON JSON Patch Flaw Enables Stack Exhaustion Denial of Service

A high-severity denial-of-service vulnerability, CVE-2026-67215, has been disclosed in DaveGamble cJSON through version 1.7.19. The flaw affects applications that process untrusted RFC 6902 JSON Patch input with cJSONUtils_ApplyPatches() or cJSONUtils_ApplyPatchesCaseSensitive(), where crafted add and copy operations can duplicate subtrees and drive document depth far beyond expected limits.

The crash occurs because cJSON_Delete() can recurse without a depth bound, leading to stack exhaustion. Advisory details note that CJSON_CIRCULAR_LIMIT is set to 10000, substantially higher than the parser's roughly 1000-level nesting limit, creating a path for remote attackers with no privileges or user interaction to terminate affected processes. The issue is tracked as CWE-674 and carries a CVSS v3.1 score vector of AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, reflecting high availability impact.

Why it matters

Impact assessment

CVE-2026-67215 is a high-severity denial-of-service flaw in DaveGamble cJSON through version 1.7.19 that affects applications accepting untrusted RFC 6902 JSON Patch input. The primary impact is process termination from stack exhaustion, creating operational disruption for APIs, services, and embedded applications that use cJSON utility patch functions on attacker-controlled data.

The exposure is potentially broad because cJSON is a widely used C JSON library, but exploitation is conditional on the application invoking cJSONUtils_ApplyPatches() or cJSONUtils_ApplyPatchesCaseSensitive() on untrusted patch documents. No confirmed in-the-wild exploitation is provided in the references, but the attack requires no privileges or user interaction and is remotely reachable where patch input is exposed over a network.

Affected populations

  • Organizations running software that embeds DaveGamble cJSON through version 1.7.19
  • API services or back-end components that accept RFC 6902 JSON Patch from external users or partner systems
  • Products written in C/C++ that use cJSON utility patch functions for document modification

Severity and business effect

  • Availability impact is high: attacker-supplied input can crash the target process
  • Confidentiality and integrity impact are not indicated in the CVSS vectors
  • Likely consequences include service interruption, failed transactions, degraded customer experience, and potential restart loops if malicious requests are replayed

Scope and exploitation status

  • Scope is broad at the library level but practically limited to deployments that process untrusted JSON Patch input
  • Attack complexity is low and requires no authentication if the vulnerable patch endpoint is exposed
  • No specific victim incidents or exploitation-in-the-wild reports are cited in the provided references
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

1 event · Jul 29, 2026
  1. Jul 29, 20264mo ago

    VulnCheck receives CVE-2026-67215 disclosure

    The CVE entry states that disclosure@vulncheck.com newly received CVE-2026-67215 on July 29, 2026. The vulnerability affects cJSON through version 1.7.19 and can cause denial of service via uncontrolled recursion and stack exhaustion when processing crafted JSON Patch input.

    CVE-2026-67215 - cJSON JSON Patch copy/add Uncontrolled Recursion Stack Exhaustion
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Organizations

1 linked
Davegamble
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.