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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-49293— CPU exhaustion via O(n^2) BigInt construction on radix-prefixed integer literals

Quick assessment

Affected
sunnyadn js-toml
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

sunnyadn js-toml是sunnyadn个人开发者开源的一个TOML解析库。 sunnyadn js-toml 1.1.1之前版本存在资源管理错误漏洞,该漏洞源于解析十六进制/八进制/二进制整数时,手工编写的 循环导致CPU资源过度消耗,攻击者可通过 函数加载特制TOML文档实施单请求CPU耗尽拒绝服务攻击。

CVSS 7.5 · High EPSS 0.64% · P49

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 1

VendorProduct Version RangeStatus
sunnyadn js-toml < 1.1.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-49293

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
CPU exhaustion via O(n^2) BigInt construction on radix-prefixed integer literals
Source: CVE Program / CVE List V5
Vulnerability Description
js-toml is a TOML parser for JavaScript, fully compliant with the TOML 1.0.0 Spec. Versions up to and including 1.1.0 parse hexadecimal / octal / binary integer literals via a hand-written `parseBigInt` loop that multiplies a `BigInt` accumulator by the radix once per input digit. Each iteration performs a `BigInt * BigInt` operation on an accumulator that grows linearly with the number of digits already consumed, so the whole loop is O(n²) in the literal length. The lexer regex places no upper bound on the literal length, so a single TOML document containing one ~500 kB hex literal pins one CPU core for ~40 seconds on a modern laptop (Apple M-series, Node v22). Memory amplification is bounded but CPU amplification is severe and grows quadratically: doubling the literal length quadruples the work. A caller that invokes `load()` on attacker-controlled TOML (configuration upload endpoints, CI/CD systems ingesting third-party `*.toml`, IDE plugins, build tools) is exposed to a single-request CPU exhaustion DoS. Version 1.1.1 fixes the issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/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
sunnyadn js-toml 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
sunnyadn js-toml是sunnyadn个人开发者开源的一个TOML解析库。 sunnyadn js-toml 1.1.1之前版本存在资源管理错误漏洞,该漏洞源于解析十六进制/八进制/二进制整数时,手工编写的`parseBigInt`循环导致CPU资源过度消耗,攻击者可通过`load()`函数加载特制TOML文档实施单请求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
sunnyadn js-toml < 1.1.1 -

II. Public POCs for CVE-2026-49293

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7098 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-49293

登录查看更多情报信息。

Patches & Fixes for CVE-2026-49293 (1)

Vendor Advisories for CVE-2026-49293 (1)

Other References for CVE-2026-49293 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-49293

No comments yet


Leave a comment