Read the docs
TI-2026-54014 Aliases CVE-2026-77465GHSA-82x6-q7mm-w9cf

toml-node: Uncontrolled Recursion

Priority MEDIUM 40CWE-674Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-674.

Summary

toml-node is a TOML parser for Node.js and the browser. Prior to 4.2.0, toml.parse() uses a Peggy 5.1.0 generated recursive-descent parser in lib/parser.js whose peg$parsevalue, peg$parsearray, and peg$parseinline_table_entry functions recurse through nested arrays and inline tables without a depth limit. A remote unauthenticated application parsing an attacker-controlled TOML document containing a few thousand nested arrays or inline tables can exhaust the Node.js call stack, raise an unexpected RangeError rather than the parser's SyntaxError, and terminate an unprotected request worker or process. The corresponding grammar source is src/toml.pegjs, where the generated parser must be bounded. This issue is fixed in version 4.2.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00609 49th percentileScored 2026-11-07
Fix Partial toml-node (BinaryMuse): 4.2.0toml (npm): 4.2.0Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
BinaryMusetoml-nodebefore 4.2.04.2.0Patch availableCNA
—toml (npm)before 4.2.04.2.0Patch availableGHSA-82x6-q7mm-w9cf
  • toml-node VendorBinaryMuse Affected before 4.2.0 Fixed in 4.2.0 Patch available CNA
  • toml (npm) Vendor— Affected before 4.2.0 Fixed in 4.2.0 Patch available GHSA-82x6-q7mm-w9cf

Remediation

  • Fix · CNA toml-node (BinaryMuse) Fixed in 4.2.0
  • Fix · GHSA-82x6-q7mm-w9cf toml (npm) Fixed in 4.2.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-77465
  2. 2026-10-03 Alias added: GHSA-82x6-q7mm-w9cf

References

  • TI-2026-78987 Quadratic complexity denial of service in toml-node TOML parser CVSS 4.0HIGH 8.7
  • TI-2026-45178 toml-node: Prototype Pollution Leads to `Object.prototype` Corruption via `__proto__` Key-Path Desynchronization CVSS 3.1HIGH 8.2
  • TI-2026-78988 CPU denial of service in toml-node via long integer literals CVSS 3.1HIGH 7.5
  • TI-2026-78986 Prototype pollution in toml-node parser writes to Object.prototype CVSS 4.0HIGH 8.8
  • TI-2026-78985 Quadratic complexity in toml-node allows denial of service CVSS 4.0HIGH 8.7

Sources