CVSS 4.0
Вероятност да бъде експлоатирана в следващите 30 дни (EPSS)
Атакува се
Време до експлоатация
Атакува се по мрежата, без особени условия, само при определена конфигурация или състояние на системата, без вход и без действие от потребителя.
- Експлоатация: има публичен пример за експлоатация
- Атаката не може да се автоматизира
Описание
Оригинално описание
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.
Засегнати продукти
- DaveGamble cJSON: до 1.7.19
Вид слабост
История
- 29 юли 2026 Публикувано
Други уязвимости в DaveGamble cJSON
Първоизточници
- https://www.cve.org/CVERecord?id=CVE-2026-67216
- https://nvd.nist.gov/vuln/detail/CVE-2026-67216
- https://joshua.hu/cjson-json-parser-cve-vulnerabilities
- https://github.com/DaveGamble/cJSON/blob/v1.7.19/cJSON.c#L3057-L3180
- https://www.vulncheck.com/advisories/cjson-cjson-compare-exponential-complexity-denial-of-service