← Vulnerability feed

Vulnerability record · CVE-2026-67217 · published 29 July 2026

CVE-2026-67217: Davegamble cjson vulnerability

DDavegamble · Cjson

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.

6.9 CVSS 4.0 Medium EPSS 0.43% · top 61.8% CWE-696 · CWE-696
6.9CVSS 4.0 base score
0.43%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
23 Oct 2026Last modified by NVD

Description

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.

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/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:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-67217 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-57052Davegamble cjson out-of-bounds read vulnerabilitycJSON 1.5.0 through 1.7.18 allows out-of-bounds access via the decode_array_index_from_pointer function in cJSON_Utils.c, allowing remote attackers t…EPSS 0.77%9.8CVE-2019-11835Davegamble cjson out-of-bounds read vulnerabilitycJSON before 1.7.11 allows out-of-bounds access, related to multiline comments.EPSS 2.6%9.8CVE-2019-11834Davegamble cjson out-of-bounds read vulnerabilitycJSON before 1.7.11 allows out-of-bounds access, related to \x00 in a string literal.EPSS 2.5%9.8CVE-2016-10749Davegamble cjson out-of-bounds read vulnerabilityparse_string in cJSON.c in cJSON before 2016-10-02 has a buffer over-read, as demonstrated by a string that begins with a " character and ends with a…EPSS 2.5%9.8CVE-2018-1000217Davegamble cjson use after free vulnerabilityDave Gamble cJSON version 1.7.3 and earlier contains a CWE-416: Use After Free vulnerability in cJSON library that can result in Possible crash, corr…EPSS 1.8%8.8CVE-2018-1000216Davegamble cjson double free vulnerabilityDave Gamble cJSON version 1.7.2 and earlier contains a CWE-415: Double Free vulnerability in cJSON library that can result in Possible crash or RCE. …EPSS 1.5%8.7CVE-2026-67215Davegamble cjson vulnerabilitycJSON through 1.7.19 is vulnerable to uncontrolled recursion leading to stack exhaustion when an untrusted RFC 6902 JSON Patch is applied via cJSONUt…EPSS 0.70%8.2CVE-2026-67216Davegamble cjson vulnerabilitycJSON through 1.7.19 contains an inefficient algorithmic complexity flaw in cJSON_Compare(). When comparing objects, the function recurses into each …EPSS 0.65%

Source: NIST National Vulnerability Database (record CVE-2026-67217), CISA KEV, FIRST EPSS (scores of 2026-11-18). This page is refreshed as NVD updates the record.