Skip to main content
← All vulnerabilities
CVE-2026-114144GHSA-9QMH-M7C6-F92P

toml-node: Uncontrolled resource consumption (CPU DoS) via unbounded-length integer literals in toml.parse()

Affects toml-node and toml before 5.0.1 in applications that parse untrusted or third-party TOML with toml.parse(). Fixed in 5.0.1.

Published
Last modified
published
Not listed in CISA KEV
Unclear
Fix
Fixed in 5.0.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

toml-node is a TOML parser for Node.js and the browser. Prior to 5.0.1, toml.parse() passes unbounded hexadecimal, octal, binary, and decimal digit sequences from lib/parser.js to BigInt() before reduceInteger() in lib/compiler.js checks whether the resulting value fits the TOML 64-bit integer range. Converting a sufficiently long integer string consumes super-linear CPU time and synchronously blocks the Node.js event loop, allowing one attacker-supplied TOML document to deny service to concurrent work in the process. The later range check cannot prevent the conversion cost because it executes after BigInt(). This issue is fixed in version 5.0.1.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  4. Record last updated

Affected versions

  • BinaryMuse toml-node

    fixed in 5.0.1

  • tomlnpm

    fixed in 5.0.1

References 3

GitHub · BinaryMuse/toml-node

FAQ

Questions about CVE-2026-114144

What does this mean?

A single small, well-formed TOML document with one very long integer literal can make toml.parse() pin the Node.js event loop at 100% CPU for several seconds. This stalls other work in the process.Source: github.com

Am I affected, and how do I check?

Versions of toml-node and toml before 5.0.1 are listed as affected. To check an installed version, run npm ls toml-node toml in the project directory.Source: github.com

What should I do about it?

Upgrade toml-node and toml to 5.0.1 or later.Source: github.com

Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.Source: cve.now feed data