Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
DaveGamble cJSON
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

davegamble cJSON是davegamble个人开发者开源的一款轻量级的开源JSON解析器。 davegamble cjson 1.7.19及之前版本存在处理逻辑错误漏洞,该漏洞源于apply_patch()函数对JSON Patch操作的非原子处理,可能导致攻击者在操作验证失败时仍能破坏目标文档的可寻址成员。

CVSS 5.3 · Medium EPSS 0.43% · P38

Affected Version Matrix 1

VendorProduct Version RangeStatus
DaveGamble cJSON ≤ 1.7.19 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-67217

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
cJSON JSON Patch Non-Atomic Application Destroys Data Before Validation
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
不正确的行为次序
Source: CVE Program / CVE List V5
Vulnerability Title
davegamble cjson 处理逻辑错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
davegamble cJSON是davegamble个人开发者开源的一款轻量级的开源JSON解析器。 davegamble cjson 1.7.19及之前版本存在处理逻辑错误漏洞,该漏洞源于apply_patch()函数对JSON Patch操作的非原子处理,可能导致攻击者在操作验证失败时仍能破坏目标文档的可寻址成员。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
DaveGamble cJSON 0 ~ 1.7.19 -

II. Public POCs for CVE-2026-67217

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-67217

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-67217 (1)

Same Patch Batch · DaveGamble · 2026-07-29 · 3 CVEs total

CVE-2026-67215 7.5 HIGH cJSON JSON Patch copy/add Uncontrolled Recursion Stack Exhaustion
CVE-2026-67216 5.9 MEDIUM cJSON cJSON_Compare Exponential Complexity Denial of Service

IV. Related Vulnerabilities