CVE-2026-114141 Details
Description
toml-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.
A denial-of-service vulnerability has been identified in toml-node, a TOML parser for Node.js and the browser. This issue affects versions through 5.0.0. The vulnerability arises in the 'addTableArray()' function of the compiler, where the parser rescans the entire 'assignedPaths' and 'valueAssignments' bookkeeping sets for each '[[name]]' array-of-tables header. This rescan process is inefficient, leading to quadratic complexity, as distinct '[[name]]' paths are not properly managed. Consequently, a document with numerous such headers can cause significant delays by blocking the Node.js event loop, thereby disrupting other operations.
Users can update to toml-node version 5.0.1 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 21, 2026CISA-ADP
Assessed Oct 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/BinaryMuse/toml-node/commit/609c873fffea0a27ebe5b4dd098eed2b3daf3606 | [email protected] | Source CodeVendor |
| https://github.com/BinaryMuse/toml-node/releases/tag/v5.0.1 | [email protected] | Release NotesVendor |
| https://github.com/BinaryMuse/toml-node/security/advisories/GHSA-4qx8-w7c3-pj3p | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-407 | Inefficient Algorithmic Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| BinaryMuse toml-node | <= 5.0.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Modified | CISA-ADP |
| Oct 21, 2026 | New CVE Received | [email protected] |
Volerion