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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-67216— cJSON cJSON_Compare Exponential Complexity Denial of Service

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及之前版本存在资源管理错误漏洞,该漏洞源于cJSON_Compare()函数存在低效的算法复杂度缺陷,递归比较嵌套深度大的对象时CPU消耗过高,造成拒绝服务。

CVSS 5.9 · Medium EPSS 0.65% · P49

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

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-67216

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 cJSON_Compare Exponential Complexity Denial of Service
Source: CVE Program / CVE List V5
Vulnerability Description
cJSON through 1.7.19 contains an inefficient algorithmic complexity flaw in cJSON_Compare(). When comparing objects, the function recurses into each shared subtree twice, once in each direction, with no depth guard, making the running time exponential in nesting depth. A small, deeply nested document of a few hundred bytes (depth around 40) compared for equality consumes hours of CPU, and the cost roughly doubles with each additional level of nesting. An application that calls cJSON_Compare() on attacker-influenced JSON that is structurally equal to a reference document is exposed to a denial-of-service condition.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
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及之前版本存在资源管理错误漏洞,该漏洞源于cJSON_Compare()函数存在低效的算法复杂度缺陷,递归比较嵌套深度大的对象时CPU消耗过高,造成拒绝服务。
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-67216

# 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-67216

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

Vendor Advisories for CVE-2026-67216 (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-67217 5.3 MEDIUM cJSON JSON Patch Non-Atomic Application Destroys Data Before Validation

IV. Related Vulnerabilities

V. Comments for CVE-2026-67216

No comments yet


Leave a comment