# CVE-2026-114143: toml-node: Quadratic-complexity DoS via long dotted keys or table paths 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)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-21T20:31:01.539Z
- Modified: 2026-10-28T02:17:05.510Z
- Also known as: GHSA-9j65-hcg3-gc64
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation poc, 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, toml.parse() repeatedly slices and rejoins every path prefix in lib/compiler.js while processing long dotted keys, table headers, array-of-tables headers, and inline-table keys in assign(), deepRef(), and setNestedKey(). The resulting quadratic work can block the Node.js event loop for several seconds, and sufficiently long paths can terminate the process through memory exhaustion. The maxDepth option does not limit key-segment count and therefore does not mitigate this path. 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-9j65-hcg3-gc64> (exploit, 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-114143> (advisory)
- <https://github.com/BinaryMuse/toml-node> (package)

## Sources

- CVE List: [CVE-2026-114143](https://www.cve.org/CVERecord?id=CVE-2026-114143), CVE Terms of Use, modified 2026-10-28
- GitHub Advisory Database: [GHSA-9j65-hcg3-gc64](https://github.com/advisories/GHSA-9j65-hcg3-gc64), CC-BY-4.0, modified 2026-10-22
- NVD: [CVE-2026-114143](https://nvd.nist.gov/vuln/detail/CVE-2026-114143), Public domain, modified 2026-10-28

---

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