{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-67216","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-07-28T19:20:19.157Z","datePublished":"2026-07-29T13:32:03.696Z","dateUpdated":"2026-07-30T15:19:59.613Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-07-29T16:00:06.548Z"},"title":"cJSON cJSON_Compare Exponential Complexity Denial of Service","descriptions":[{"lang":"en","value":"cJSON through 1.7.19 contains an inefficient algorithmic complexity flaw in cJSON_Compare(). When comparing objects, the function recurses into each shared subtree twice, once in each direction, with no depth guard, making the running time exponential in nesting depth. A small, deeply nested document of a few hundred bytes (depth around 40) compared for equality consumes hours of CPU, and the cost roughly doubles with each additional level of nesting. An application that calls cJSON_Compare() on attacker-influenced JSON that is structurally equal to a reference document is exposed to a denial-of-service condition."}],"datePublic":"2026-07-25T00:00:00.000Z","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-407","description":"Inefficient Algorithmic Complexity","type":"CWE"}]}],"affected":[{"vendor":"DaveGamble","product":"cJSON","defaultStatus":"affected","versions":[{"status":"affected","version":"0","versionType":"semver","lessThanOrEqual":"1.7.19"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:davegamble:cjson:*:*:*:*:*:*:*:*"}]}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":8.2,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"MEDIUM","baseScore":5.9,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}}],"references":[{"url":"https://joshua.hu/cjson-json-parser-cve-vulnerabilities","tags":["exploit"],"name":"Security vulnerabilities in the cJSON JSON parser (Joshua Rogers)"},{"url":"https://github.com/DaveGamble/cJSON/blob/v1.7.19/cJSON.c#L3057-L3180","tags":["technical-description"],"name":"cJSON_Compare double-recursion object comparison (cJSON.c)"},{"name":"VulnCheck Advisory: cJSON cJSON_Compare Exponential Complexity Denial of Service","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/cjson-cjson-compare-exponential-complexity-denial-of-service"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-30T13:38:48.858891Z","id":"CVE-2026-67216","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-07-30T15:19:59.613Z"}}]}}