CVE-2026-67217
CVE-2026-67217 · cJSON JSON Patch Non-Atomic Application Destroys Data Before Validation
CVSS 6.9 · Medium · EPSS 0.4%
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 | shChannels 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 applies RFC 6902 JSON Patch operations non-atomically in apply_patch() in cJSON_Utils.c. For a replace operation that is missing its value member, or a move operation whose destination path cannot be resolved, the existing target member is detached and deleted before the operation is fully validated, so the target document is mutated while cJSONUtils_ApplyPatches() or cJSONUtils_ApplyPatchesCaseSensitive() returns a failure status. An attacker who can supply the patch document can destroy addressable members of the target document even though the API reports that the patch failed, defeating the all-or-nothing behavior callers rely on to reject bad patches.
- 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