{"id":"CVE-2026-114141","published":"2026-10-21T20:25:36Z","modified":"2026-10-23T21:20:03Z","title":"toml-node: Quadratic-complexity DoS via many array-of-tables headers in toml.parse()","vendor":"BinaryMuse","product":"toml-node","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.36413,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/BinaryMuse/toml-node/security/advisories/GHSA-4qx8-w7c3-pj3p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/BinaryMuse/toml-node/commit/609c873fffea0a27ebe5b4dd098eed2b3daf3606","tags":["x_refsource_MISC"]},{"url":"https://github.com/BinaryMuse/toml-node/releases/tag/v5.0.1","tags":["x_refsource_MISC"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":7.28},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"binarymuse","affectedVersions":[{"vendor":"BinaryMuse","product":"toml-node","versions":["< 5.0.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-23T17:32:47.363261Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"toml","vulnerableRanges":["<5.0.1"],"patched":["5.0.1"],"from":["GHSA-4qx8-w7c3-pj3p"],"provenance":"source"}],"summary":{"text":"toml-node, a TOML parser for Node.js and the browser, contains a flaw in the toml.parse() compiler's addTableArray() function in lib/compiler.js, which rescans its full bookkeeping sets for every array-of-tables header and so scales quadratically on documents with many distinct [[name]] paths. An attacker who can supply a TOML document to be parsed, without needing authentication or user interaction, can make the parser consume synchronous CPU time that blocks the Node.js event loop and denies service to other operations in the process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:39Z"},"euvd":{"id":"EUVD-2026-107552","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-binarymuse-toml-node-cve-2026-63376","parents":[{"from":"CVE-2026-63376","to":"CVE-2026-114141","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/compiler.js"],"commits":["https://github.com/BinaryMuse/toml-node/commit/609c873fffea0a27ebe5b4dd098eed2b3daf3606","https://github.com/BinaryMuse/toml-node/commit/def6ab5ea99038c0dd482cd6af1745a6af8b4c44","https://github.com/BinaryMuse/toml-node/commit/dfaff662276adc38a2e03df3139f7119b0185463"],"basis":"shared function","functions":["compile"]}]}]}}