HIGH✓ PATCH🇵🇱 Wersja polska

CVE-2026-67215

CVSS 8.7v4.0pub. 2026-07-29upd. 2026-08-04

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.

CVSS Vector
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
  • Davegamble Cjson

    APP
    Davegamble
    ≤ 1.7.19
🟢
PATCH AVAILABLE
Vendor update available. Deploy in standard maintenance cycle.
Tags
DoS
CWE
References

Related vulnerabilities

CVE-2025-57052CRITICAL9.8PL ✓same product

Out-of-bounds access w cJSON przez funkcję decode_array_index_from_pointer

CVE-2019-11834CRITICAL9.8PL ✓same product

cJSON: out-of-bounds access przez znak \x00 w literale tekstowym

CVE-2019-11835CRITICAL9.8PL ✓same product

Dostęp poza zakresem pamięci w cJSON związany z komentarzami wieloliniowymi

CVE-2016-10749CRITICAL9.8PL ✓same product

Buffer over-read w funkcji parse_string biblioteki cJSON

CVE-2018-1000217CRITICAL9.8PL ✓same product

Use-after-free w bibliotece cJSON umożliwiający RCE