{"id":"CVE-2026-67215","sourceIdentifier":"disclosure@vulncheck.com","published":"2026-07-29T14:16:35.187","lastModified":"2026-10-23T23:10:00.157","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"cJSON hasta la versión 1.7.19 es vulnerable a una recursión incontrolada que conduce al agotamiento de la pila cuando se aplica un parche JSON RFC 6902 no confiable a través de cJSONUtils_ApplyPatches() o cJSONUtils_ApplyPatchesCaseSensitive(). Un parche que contiene operaciones de adición y copia injerta subárboles duplicados para amplificar la profundidad del documento más allá del límite de anidamiento del analizador: cJSON_Delete() recurre sin límite de profundidad, y el guardián CJSON_CIRCULAR_LIMIT de cJSON_Duplicate() está configurado en 10000, diez veces el límite de anidamiento de 1000 niveles del analizador y lo suficientemente alto como para desbordar una pila de hilos predeterminada. Un atacante que puede proporcionar el documento del parche puede bloquear el proceso, lo que resulta en denegación de servicio."}],"affected":[{"source":"disclosure@vulncheck.com","affectedData":[{"vendor":"DaveGamble","product":"cJSON","defaultStatus":"affected","versions":[{"version":"0","lessThanOrEqual":"1.7.19","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV40":[{"source":"disclosure@vulncheck.com","type":"Secondary","cvssData":{"version":"4.0","vectorString":"CVSS: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","baseScore":8.7,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"cvssMetricV31":[{"source":"disclosure@vulncheck.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-29T14:32:48.962567Z","id":"CVE-2026-67215","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"disclosure@vulncheck.com","type":"Secondary","description":[{"lang":"en","value":"CWE-674"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:davegamble:cjson:*:*:*:*:*:*:*:*","versionEndIncluding":"1.7.19","matchCriteriaId":"5C00DBC2-E3A7-463F-B383-24ED288F53CD"}]}]}],"references":[{"url":"https://github.com/DaveGamble/cJSON/blob/v1.7.19/cJSON.c#L253-L261","source":"disclosure@vulncheck.com","tags":["Patch"]},{"url":"https://github.com/DaveGamble/cJSON/blob/v1.7.19/cJSON_Utils.c#L906-L940","source":"disclosure@vulncheck.com","tags":["Patch"]},{"url":"https://joshua.hu/cjson-json-parser-cve-vulnerabilities","source":"disclosure@vulncheck.com","tags":["Exploit","Press/Media Coverage","Third Party Advisory"]},{"url":"https://www.vulncheck.com/advisories/cjson-json-patch-copy-add-uncontrolled-recursion-stack-exhaustion","source":"disclosure@vulncheck.com","tags":["Third Party Advisory"]},{"url":"https://joshua.hu/cjson-json-parser-cve-vulnerabilities","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Press/Media Coverage","Third Party Advisory"]}]}