p PatchFirst

CVE-2026-67215

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

CVSS 8.7 · High · EPSS 0.7%

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 5 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.

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.

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

  • 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

  • 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

  • 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

  • cjson Ubuntu 26.10

    Versions
    • 1.7.19-2
    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

Original sources

Check your server →