CVE-2026-29036cJSON 1.7.19 Wrong-Key Modification via JSON Pointer Escape Decoding
cJSON versions 1.5.0 through 1.7.19 contain an incorrectly-resolved name or reference vulnerability in the decode_pointer_inplace() function within cJSON_Utils.c that allows unauthenticated attackers to cause JSON Patch operations to target wrong object keys by supplying crafted JSON Pointer escape sequences (~0 or ~1) in patch paths. Attackers can submit malicious RFC 6902 JSON Patch input to applications using cJSONUtils_ApplyPatches() or cJSONUtils_ApplyPatchesCaseSensitive() to silently corrupt data or delete unintended keys, potentially bypassing authorization controls in applications that rely on JSON Patch for access-controlled data modification.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | cjson | Fix pending | UBUNTU-CVE-2026-29036 | |
| Ubuntu 26.04 | cjson | Under investigation | UBUNTU-CVE-2026-29036 | |
| Ubuntu 24.04 | cjson | Fix pending | UBUNTU-CVE-2026-29036 | |
| Ubuntu 22.04 | cjson | Fix pending | UBUNTU-CVE-2026-29036 | |
| Ubuntu 20.04 | cjson | Fix pending | UBUNTU-CVE-2026-29036 | |
| Debian 14 | cjson | Fix pending | DEBIAN-CVE-2026-29036 | |
| Debian 13 | cjson | Fix pending | DEBIAN-CVE-2026-29036 | |
| Debian 12 | cjson | Fix pending | DEBIAN-CVE-2026-29036 | |
| Red Hat Enterprise Linux 8 | rpm-ostree | Not affected | ||
| Red Hat Enterprise Linux 8 | rpm-ostree-libs | Not 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.
- DaveGamble cJSON: affected: 1.5.0 to 1.7.19
References
- https://github.com/DaveGamble/cJSON
- https://www.vulncheck.com/advisories/cjson-wrong-key-modification-via-json-pointer-escape-decoding
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.