CVEfocus › CVE database › CVE-2026-67216

CVE-2026-67216cJSON cJSON_Compare Exponential Complexity Denial of Service

CVSS 5.9 MediumEPSS 0.6% (higher than 46% of CVEs)Published 2026-07-29Updated 2026-07-30Assigner: VulnCheck

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.

CWE-407

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

18Fix pending
6Under investigation

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-67216
Ubuntu 26.10iperf3Fix pendingUBUNTU-CVE-2026-67216
Ubuntu 26.10mapcacheFix pendingUBUNTU-CVE-2026-67216
Ubuntu 26.10sail-ocamlFix pendingUBUNTU-CVE-2026-67216
Ubuntu 26.04cjsonUnder investigationUBUNTU-CVE-2026-67216
Ubuntu 26.04iperf3Under investigationUBUNTU-CVE-2026-67216
Ubuntu 26.04mapcacheUnder investigationUBUNTU-CVE-2026-67216
Ubuntu 26.04sail-ocamlUnder investigationUBUNTU-CVE-2026-67216
Ubuntu 24.04cjsonFix pendingUBUNTU-CVE-2026-67216
Ubuntu 24.04iperf3Fix pendingUBUNTU-CVE-2026-67216
Ubuntu 24.04mapcacheUnder investigationUBUNTU-CVE-2026-67216
Ubuntu 22.04cjsonFix pendingUBUNTU-CVE-2026-67216
Ubuntu 22.04iperf3Fix pendingUBUNTU-CVE-2026-67216
Ubuntu 22.04mapcacheUnder investigationUBUNTU-CVE-2026-67216
Ubuntu 20.04cjsonFix pendingUBUNTU-CVE-2026-67216
Ubuntu 20.04iperf3Fix pendingUBUNTU-CVE-2026-67216
Ubuntu 20.04mapcacheFix pendingUBUNTU-CVE-2026-67216
Ubuntu 18.04iperf3Fix pendingUBUNTU-CVE-2026-67216
Ubuntu 18.04mapcacheFix pendingUBUNTU-CVE-2026-67216
Ubuntu 16.04iperf3Fix pendingUBUNTU-CVE-2026-67216
Ubuntu 16.04mapcacheFix pendingUBUNTU-CVE-2026-67216
Debian 14cjsonFix pendingDEBIAN-CVE-2026-67216
Debian 13cjsonFix pendingDEBIAN-CVE-2026-67216
Debian 12cjsonFix pendingDEBIAN-CVE-2026-67216

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.