CVE-2026-29036: cJSON 1.7.19 Wrong-Key Modification via JSON Pointer Escape Decoding

Published Aug 11, 2026
·
Updated

cJSON versions 1.5.0 through 1.7.19 contain an incorrectly-resolved name or reference vulnerability in the decodepointerinplace() function within cJSONUtils.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 cJSONUtilsApplyPatches() or cJSONUtilsApplyPatchesCaseSensitive() to silently corrupt data or delete unintended keys, potentially bypassing authorization controls in applications that rely on JSON Patch for access-controlled data modification.

Affected Software

1 affected component
cJSON cJSON>=1.5.0<=1.7.19

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade cJSON to a version that resolves this vulnerability.

    Fixed in 1.7.19
  2. Configuration

    Modify or configure the JSON Patch handling to prevent ~0/~1 JSON Pointer escape sequences from being incorrectly resolved by decode_pointer_inplace(), so patch operations cannot target wrong object keys.

    cJSON (cJSON_Utils.c: decode_pointer_inplace) JSON Pointer escape sequence handling = Reject/disable crafted escape sequences (~0 or ~1) in patch paths
  3. Compensating control

    Ensure applications that accept JSON Patch inputs do not allow unauthenticated users to submit/execute RFC 6902 JSON Patch operations via cJSONUtils_ApplyPatches() or cJSONUtils_ApplyPatchesCaseSensitive().

Event History

Aug 11, 2026
CVE Published
via MITRE·09:30 PM
Data Sourced
via MITRE·09:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-29036?

CVE-2026-29036 has a high severity score of 7.5.

2

How do I fix CVE-2026-29036?

To fix CVE-2026-29036, update cJSON to version 1.7.20 or later.

3

What impact does CVE-2026-29036 have on data integrity?

CVE-2026-29036 allows attackers to modify JSON Patch operations, potentially altering the intended object keys.

4

Can CVE-2026-29036 be exploited remotely?

Yes, CVE-2026-29036 can be exploited remotely by unauthenticated attackers.

5

Which versions of cJSON are affected by CVE-2026-29036?

CVE-2026-29036 affects cJSON versions 1.5.0 through 1.7.19.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2026-29036 - cJSON 1.7.19 Wrong-Key Modification via JSON Pointer Escape Decoding - SecAlerts