p PatchFirst

CVE-2026-67216

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

CVSS 8.2 · High · EPSS 0.6%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • cjsonNo fix published
  • cjson Debian 12No fix published
  • cjson Debian 13No fix published
  • cjson Debian 14No fix published
  • and 20 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="cjson"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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.

Published
Updated

Stack: system

Affected products and versions

  • cjson

    Versions
    • ≥ 0, ≤ 1.7.19: Affected (semver)

    No fix published

  • cjson Debian 12

    Versions
    • 1.7.15-1
    • 1.7.15-1+deb12u1
    • 1.7.15-1+deb12u2
    • 1.7.15-1+deb12u3
    • 1.7.15-1+deb12u4
    • 1.7.16-1
    All versions (16)
    • 1.7.16-2
    • 1.7.17-1
    • 1.7.17-2
    • 1.7.18-1
    • 1.7.18-2
    • 1.7.18-3
    • 1.7.18-3.1
    • 1.7.18-4
    • 1.7.19-1
    • 1.7.19-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cjson Debian 13

    Versions
    • 1.7.18-3.1
    • 1.7.18-3.1+deb13u1
    • 1.7.18-4
    • 1.7.19-1
    • 1.7.19-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cjson Debian 14

    Versions
    • 1.7.18-3.1
    • 1.7.18-4
    • 1.7.19-1
    • 1.7.19-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • iperf3 Ubuntu Pro 16.04 LTS

    Versions
    • 3.0.11-1
    • 3.0.11-1ubuntu0.1~esm1
    • 3.0.11-1ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mapcache Ubuntu 16.04 LTS

    Versions
    • 1.4.0-3
    • 1.4.0-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • iperf3 Ubuntu Pro 18.04 LTS

    Versions
    • 3.1.3-1
    • 3.1.3-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mapcache Ubuntu 18.04 LTS

    Versions
    • 1.6.0-2
    • 1.6.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cjson Ubuntu Pro 20.04 LTS

    Versions
    • 1.7.10-1.1
    • 1.7.10-1.1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • iperf3 Ubuntu Pro 20.04 LTS

    Versions
    • 3.6-2
    • 3.7-1
    • 3.7-2
    • 3.7-3
    • 3.7-3ubuntu0.1~esm1
    • 3.7-3ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mapcache Ubuntu 20.04 LTS

    Versions
    • 1.8.0-1
    • 1.8.0-1build2
    • 1.10.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mapcache Ubuntu 22.04 LTS

    Versions
    • 1.10.0-2build1
    • 1.10.0-2build3
    • 1.12.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cjson Ubuntu Pro 22.04 LTS

    Versions
    • 1.7.14-1
    • 1.7.15-1
    • 1.7.15-1ubuntu0.1~esm2
    • 1.7.15-1ubuntu0.1
    • 1.7.15-1ubuntu0.1+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • iperf3 Ubuntu Pro 22.04 LTS

    Versions
    • 3.9-1
    • 3.9-1build1
    • 3.9-1+deb11u1build0.22.04.1
    • 3.9-1+deb11u1ubuntu0.1~esm1
    • 3.9-1+deb11u1ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mapcache Ubuntu 24.04 LTS

    Versions
    • 1.14.0-2
    • 1.14.0-2build1
    • 1.14.0-2build2
    • 1.14.0-4build1
    • 1.14.0-4build2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cjson Ubuntu Pro 24.04 LTS

    Versions
    • 1.7.16-1
    • 1.7.16-2
    • 1.7.17-1
    • 1.7.17-1ubuntu0.1~esm2
    • 1.7.17-1ubuntu0.1~esm3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • iperf3 Ubuntu Pro 24.04 LTS

    Versions
    • 3.14-1
    • 3.15-1
    • 3.16-1
    • 3.16-1build1
    • 3.16-1build2
    • 3.16-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cjson Ubuntu 26.10

    Versions
    • 1.7.19-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • iperf3 Ubuntu 26.10

    Versions
    • 3.20-2
    • 3.20-2.1
    • 3.20-2.1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mapcache Ubuntu 26.10

    Versions
    • 1.14.1-3build2
    • 1.16.0-1
    • 1.16.0-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • sail-ocaml Ubuntu 26.10

    Versions
    • 0.19.1+dfsg5-1build3
    • 0.20.2+dfsg-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cjson Ubuntu 26.04 LTS

    Versions
    • 1.7.18-3.1
    • 1.7.18-4
    • 1.7.19-1
    • 1.7.19-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • iperf3 Ubuntu 26.04 LTS

    Versions
    • 3.18-2
    • 3.19.1-2
    • 3.20-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mapcache Ubuntu 26.04 LTS

    Versions
    • 1.14.1-3
    • 1.14.1-3build1
    • 1.14.1-3build2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →