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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-85730— smol-toml: Denial of Service via malformed TOML documents

Quick assessment

Affected
squirrelchat smol-toml
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.

Squirrel Chat smol-toml是Squirrel Chat组织的一个轻量级的TOML解析库。 Squirrel Chat smol-toml 1.7.1之前版本存在安全漏洞,该漏洞源于解析数组或内联表时未正确处理无换行注释,skipUntil()函数在输入末尾将光标重置到字符串开头,导致解析器无限循环。当应用程序解析攻击者控制的TOML时,可能消耗服务处理能力。

CVSS 8.2 · High EPSS 0.38% · P32

Possible ATT&CK Techniques 1 AI

T1480 · Execution Guardrails

Affected Version Matrix 1

VendorProduct Version RangeStatus
squirrelchat smol-toml < 1.7.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-85730

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
smol-toml: Denial of Service via malformed TOML documents
Source: CVE Program / CVE List V5
Vulnerability Description
smol-toml is a small, fast, and correct TOML parser and serializer. Prior to 1.7.1, parse() can enter an infinite loop when a value inside an array or inline table is followed by a comment with no trailing newline. In src/util.ts, skipUntil() calls indexOfNewline(), receives -1 at the end of input, and resets the cursor to the beginning of the string instead of leaving the structure scan. The parser then hangs indefinitely and can consume a service's processing capacity when an application parses attacker-controlled TOML. This issue is fixed in version 1.7.1.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
循环条件输入未经检查
Source: CVE Program / CVE List V5
Vulnerability Title
Squirrel Chat smol-toml 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Squirrel Chat smol-toml是Squirrel Chat组织的一个轻量级的TOML解析库。 Squirrel Chat smol-toml 1.7.1之前版本存在安全漏洞,该漏洞源于解析数组或内联表时未正确处理无换行注释,skipUntil()函数在输入末尾将光标重置到字符串开头,导致解析器无限循环。当应用程序解析攻击者控制的TOML时,可能消耗服务处理能力。
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
squirrelchat smol-toml < 1.7.1 -

II. Public POCs for CVE-2026-85730

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

登录查看更多情报信息。

Patches & Fixes for CVE-2026-85730 (2)

Vendor Advisories for CVE-2026-85730 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-85730

No comments yet


Leave a comment