# CVE-2026-67217: cJSON JSON Patch Non-Atomic Application Destroys Data Before Validation

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-29 · Modified: 2026-07-29
- Aliases: UBUNTU-CVE-2026-67217, DEBIAN-CVE-2026-67217
- Record: https://cvemate.com/vulnerability/CVE-2026-67217 · JSON: https://cvemate.com/vulnerability/CVE-2026-67217/json

## Description

```text
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.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) 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
- EPSS: 0.298%, percentile 24.102%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- davegamble cjson: ≤ 1.7.19
- debian cjson (Debian): All versions (No fix recorded) \| \< 1.7.19-3
- ubuntu cjson (Ubuntu): All versions (No fix recorded)

## References

- <https://joshua.hu/cjson-json-parser-cve-vulnerabilities>
- <https://github.com/DaveGamble/cJSON/blob/v1.7.19/cJSON_Utils.c#L887-L948>
- <https://www.vulncheck.com/advisories/cjson-json-patch-non-atomic-application-destroys-data-before-validation>
- <https://ubuntu.com/security/CVE-2026-67217>
- <https://www.cve.org/CVERecord?id=CVE-2026-67217>
- <https://security-tracker.debian.org/tracker/CVE-2026-67217>
- <https://github.com/DaveGamble/cJSON/pull/1114>

---

Data as of 2026-12-05T04:38:54.958Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
