toml-node: Quadratic-complexity DoS via many array-of-tables headers in toml.parse()
Exact source revision recorded 23 Oct 2026 22:48:20 UTC. It does not establish the source's current position. Latest evidence.
cve-program · CVE-2026-114141
Publishedtoml-node is a TOML parser for Node.js and the browser. Prior to 5.0.1, the toml.parse() compiler's addTableArray() function in lib/compiler.js rescans the complete assignedPaths and valueAssignments bookkeeping sets for every array-of-tables header. Distinct [[name]] paths are not pruned, so a document with many such headers causes quadratic synchronous work and can block the Node.js event loop, denying service to other operations in the process. This issue is fixed in version 5.0.1.
- Source published
- 21 Oct 2026 20:25:36 UTC
- Source modified
- 23 Oct 2026 21:20:03 UTC
- Observed here
- 23 Oct 2026 22:48:20 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: cve-program · CVE Program Terms of Use. Source text is retained; field grouping and change labels are provided by ChangeIntel.
CVSS 4.0 · 8.7 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N