cjson — security advisory
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.
- Products
- cjson
- Affected 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, 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-3.1+deb13u1, 1.7.18-4, 1.7.19-1, 1.7.19-2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-29036
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:09 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2026-29036
cjson
Fixed versions: Not specified
cjson
Fixed versions: Not specified
cjson
Fixed versions: Not specified
Complete source record
{
"id": "dd570d215d1093b9ac9fe6172176008a2fdc152e9f04b41f8d7cbb95460bf551",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-29036",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-29036",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2026-29036",
"products": [
{
"name": {
"value": "cjson",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.15-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.15-1+deb12u1",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.15-1+deb12u2",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.15-1+deb12u3",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.15-1+deb12u4",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.16-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.16-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.17-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.17-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.18-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.18-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.18-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.18-3.1",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.18-4",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.19-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.19-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "cjson",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.18-3.1",
"evidence": "/affected/1/versions"
},
{
"value": "1.7.18-3.1+deb13u1",
"evidence": "/affected/1/versions"
},
{
"value": "1.7.18-4",
"evidence": "/affected/1/versions"
},
{
"value": "1.7.19-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.7.19-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "cjson",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.18-3.1",
"evidence": "/affected/2/versions"
},
{
"value": "1.7.18-4",
"evidence": "/affected/2/versions"
},
{
"value": "1.7.19-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.7.19-2",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-29036",
"aliases": [
"DEBIAN-CVE-2026-29036"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cjson",
"purl": "pkg:deb/debian/cjson?arch=source&distro=bookworm",
"ecosystem": "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",
"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"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-29036.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cjson",
"purl": "pkg:deb/debian/cjson?arch=source&distro=trixie",
"ecosystem": "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"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-29036.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "cjson",
"purl": "pkg:deb/debian/cjson?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1.7.18-3.1",
"1.7.18-4",
"1.7.19-1",
"1.7.19-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-29036.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-24T09:47:34.398992242Z",
"provider": "osv",
"upstream": [
"CVE-2026-29036"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-29036"
]
},
"related_cves": [
{
"value": "CVE-2026-29036",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 429035,
"published_at": "2026-08-11T22:17:22.257+00:00"
}