CVEfocus › CVE database › CVE-2026-67215

CVE-2026-67215cJSON JSON Patch copy/add Uncontrolled Recursion Stack Exhaustion

CVSS 7.5 HighEPSS 0.7% (higher than 49% of CVEs)Published 2026-07-29Updated 2026-07-29Assigner: VulnCheck

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.

CWE-674

What to do

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fix pending
1Under investigation
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10cjsonFix pendingUBUNTU-CVE-2026-67215
Ubuntu 26.04cjsonUnder investigationUBUNTU-CVE-2026-67215
Ubuntu 24.04cjsonFix pendingUBUNTU-CVE-2026-67215
Ubuntu 22.04cjsonFix pendingUBUNTU-CVE-2026-67215
Ubuntu 20.04cjsonFix pendingUBUNTU-CVE-2026-67215
Debian 14cjsonFix pendingDEBIAN-CVE-2026-67215
Debian 13cjsonFix pendingDEBIAN-CVE-2026-67215
Debian 12cjsonFix pendingDEBIAN-CVE-2026-67215
Red Hat Enterprise Linux 8rpm-ostreeNot affected
Red Hat Enterprise Linux 8rpm-ostree-libsNot affected

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.