Description
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.
Published: 2026-08-11
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An incorrectly resolved abstract name in the decode_pointer_inplace function causes JSON Patch operations to target the wrong object keys when paths contain the RFC 6902 escape sequences ~0 or ~1. Attackers who can supply crafted JSON Patch documents can silently corrupt or delete unintended data fields in applications that utilize cJSONUtils_ApplyPatches or the case‑sensitive variant. This can lead to integrity violations and potential bypass of application‑level authorization controls that rely on key ownership for data modification. The likely attack vector is through any interface that accepts JSON Patch, such as HTTP APIs or configuration endpoints, and requires only unauthenticated submission of a malicious payload.

Affected Systems

DaveGamble’s cJSON library versions 1.5.0 through 1.7.19 are affected. Any application built with these releases that invokes cJSONUtils_ApplyPatches or cJSONUtils_ApplyPatchesCaseSensitive for processing JSON Patch requests is vulnerable, including web services, configuration managers, or other tools that rely on cJSON for JSON manipulation.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity vulnerability, while the EPSS score of < 1% suggests a low probability of widespread exploitation at present. The vulnerability is not yet listed in the CISA KEV catalog. Exploitation requires only the ability to send a malicious RFC 6902 JSON Patch document, which can be done remotely via standard input channels. Because the flaw permits silent data corruption without authentication, the impact on integrity is significant, though the low EPSS means the overall risk is moderate until an attacker targets a wider audience.

Generated by OpenCVE AI on August 13, 2026 at 13:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update to cJSON version 1.7.20 or later, which contains the fix for decode_pointer_inplace.
  • If an immediate upgrade is not possible, replace the malfunctioning logic in decode_pointer_inplace with a patched implementation that correctly interprets the ~0 and ~1 Escape sequences or wrap the library in a sanitizer that normalizes JSON Pointer paths before they reach the vulnerable functions.
  • Add strict input validation to any API or entry point that accepts JSON Patch documents, rejecting or sanitizing paths that contain the escape sequences ~0 or ~1, or enforce a whitelist of allowed keys to prevent unintended modifications.

Generated by OpenCVE AI on August 13, 2026 at 13:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:davegamble:cjson:*:*:*:*:*:*:*:*

Thu, 13 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 13 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-386
References
Metrics threat_severity

None

threat_severity

Important


Wed, 12 Aug 2026 12:00:00 +0000

Type Values Removed Values Added
First Time appeared Davegamble
Davegamble cjson
Vendors & Products Davegamble
Davegamble cjson

Tue, 11 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
Description 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.
Title cJSON 1.7.19 Wrong-Key Modification via JSON Pointer Escape Decoding
Weaknesses CWE-706
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Davegamble Cjson
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T16:49:41.472Z

Reserved: 2026-03-03T17:24:13.914Z

Link: CVE-2026-29036

cve-icon Vulnrichment

Updated: 2026-08-13T15:11:27.319Z

cve-icon NVD

Status : Received

Published: 2026-08-11T22:17:22.257

Modified: 2026-08-13T16:18:04.780

Link: CVE-2026-29036

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-11T21:30:01Z

Links: CVE-2026-29036 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T14:00:04Z

Weaknesses
  • CWE-386

    Symbolic Name not Mapping to Correct Object

  • CWE-706

    Use of Incorrectly-Resolved Name or Reference