Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. toml
  4. ›
  5. CVE-2026-114144

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

October 22, 2026

toml.parse() converts integer literals (hex, octal, binary, and decimal) to BigInt without first bounding the length of the digit sequence. Since BigInt(string) construction from a very long numeric string runs in super-linear time, a single small, well-formed TOML document containing one long integer literal can pin a Node.js process’s event loop at 100% CPU for several seconds — a denial of service for any application that parses attacker-supplied or third-party TOML. No authentication or complex crafting is required.

References

  • github.com/BinaryMuse/toml-node/commit/9d52e384f6030932174d1afb0d910154dd62dead
  • github.com/BinaryMuse/toml-node/releases/tag/v5.0.1
  • github.com/BinaryMuse/toml-node/security/advisories/GHSA-9qmh-m7c6-f92p
  • github.com/advisories/GHSA-9qmh-m7c6-f92p
  • nvd.nist.gov/vuln/detail/CVE-2026-114144

Code Behaviors & Features

Detect and mitigate CVE-2026-114144 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 5.0.1

Fixed versions

  • 5.0.1

Solution

Upgrade to version 5.0.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

npm/toml/CVE-2026-114144.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 23 Oct 2026 00:17:00 +0000.