# CVE-2026-114141: toml-node: Quadratic-complexity DoS via many array-of-tables headers in toml.parse()

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-10-21T20:25:36.396Z
- Modified: 2026-10-23T22:16:56.280Z
- Also known as: GHSA-4qx8-w7c3-pj3p
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- BinaryMuse toml-node: < 5.0.1
- toml (npm): before 5.0.1

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/BinaryMuse/toml-node/security/advisories/GHSA-4qx8-w7c3-pj3p> (web)
- <https://github.com/BinaryMuse/toml-node/commit/609c873fffea0a27ebe5b4dd098eed2b3daf3606> (web)
- <https://github.com/BinaryMuse/toml-node/releases/tag/v5.0.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-114141> (advisory)
- <https://github.com/BinaryMuse/toml-node> (package)

## Sources

- CVE List: [CVE-2026-114141](https://www.cve.org/CVERecord?id=CVE-2026-114141), CVE Terms of Use, modified 2026-10-23
- GitHub Advisory Database: [GHSA-4qx8-w7c3-pj3p](https://github.com/advisories/GHSA-4qx8-w7c3-pj3p), CC-BY-4.0, modified 2026-10-22
- NVD: [CVE-2026-114141](https://nvd.nist.gov/vuln/detail/CVE-2026-114141), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-114141 · Whole record: https://cve.day/CVE-2026-114141.json · Rebuilt by cve.day 2026-11-25T22:59:46.684Z
