PatchSiren cyber security CVE debrief
CVE-2026-67215 DaveGamble CVE debrief
CVE-2026-67215 is a vulnerability in the cJSON library, which can lead to a denial-of-service (DoS) attack when an untrusted RFC 6902 JSON Patch is applied. The vulnerability is caused by uncontrolled recursion leading to stack exhaustion. An attacker who can supply the patch document can crash the process, resulting in a denial of service. This vulnerability affects systems that use the cJSON library and process JSON Patch documents. Developers and administrators should review and update the library to a version that is not vulnerable, implement input validation and sanitization for JSON Patch documents, and monitor for suspicious activity.
- Vendor
- DaveGamble
- Product
- cJSON
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-29
- Original CVE updated
- 2026-10-23
- Advisory published
- 2026-07-29
- Advisory updated
- 2026-10-23
Who should care
Developers and administrators who use the cJSON library in their applications should be aware of this vulnerability and take steps to mitigate it. This includes reviewing and updating the library to a version that is not vulnerable, implementing input validation and sanitization for JSON Patch documents, and monitoring for suspicious activity.
Why it matters
CVE-2026-67215 is a vulnerability in the cJSON library that can lead to a denial-of-service (DoS) attack when an untrusted RFC 6902 JSON Patch is applied. The vulnerability is caused by uncontrolled recursion leading to stack exhaustion. An attacker who can supply the patch document can crash the process, resulting in a denial of service.
- Denial of service (DoS) attacks are possible
- Crash of the process can occur
- Uncontrolled recursion can lead to stack exhaustion
Technical summary
The cJSON library is vulnerable to uncontrolled recursion leading to stack exhaustion when an untrusted RFC 6902 JSON Patch is applied. This can lead to a denial-of-service (DoS) attack. The vulnerability is rated as High with a CVSS score of 8.7. The vulnerability is caused by the cJSON_Delete() function recursing with no depth bound, and the cJSON_Duplicate() guard CJSON_CIRCULAR_LIMIT is set to 10000, which is ten times the parser's 1000-level nesting limit. An attacker who can supply the patch document can crash the process, resulting in a denial of service. The vulnerability affects systems that use the cJSON library and process JSON Patch documents.
Defensive priority
High
Recommended defensive actions
- Review and update cJSON library to a version that is not vulnerable
- Implement input validation and sanitization for JSON Patch documents
- Monitor for suspicious activity and implement logging and alerting
- Perform vulnerability scanning to identify exposed systems
- Implement compensating controls for exposed systems
- Review and update incident response plans to address potential DoS attacks
- Track and analyze system logs for potential security incidents
Evidence notes
The vulnerability is caused by uncontrolled recursion in the cJSON library when applying an untrusted RFC 6902 JSON Patch. This can lead to stack exhaustion and a denial-of-service (DoS) attack. The vulnerability is rated as High with a CVSS score of 8.7.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-67215 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-67215
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-67215 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-67215
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/DaveGamble/cJSON/blob/v1.7.19/cJSON.c
[email protected] - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/DaveGamble/cJSON/blob/v1.7.19/cJSON_Utils.c
[email protected] - Patch
-
Source reference
Unverified legacy reference
URL: https://joshua.hu/cjson-json-parser-cve-vulnerabilities
[email protected] - Exploit, Press/Media Coverage, Third Party Advisory
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/cjson-json-patch-copy-add-uncontrolled-recursion-stack-exhaustion
[email protected] - Third Party Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.