Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify endpoint parsing untrusted TOML
-
ExploitSubmit document with oversized integer literal
-
ExecutionBigInt() conversion blocks event loop
-
ImpactConcurrent requests stalled, service denied
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The affected application must call toml-node's toml.parse() on TOML content that an attacker can influence (e.g. uploaded configuration, API/webhook body). No special product feature, flag, or non-default configuration is required - the vulnerable integer path is the parser's default behavior for any hex/octal/binary/decimal integer literal in versions prior to 5.0.1. The exploit requires no authentication (PR:N) and no user interaction (UI:N). The primary limiting factor is input trust: if the TOML parsed is static, operator-supplied, or otherwise trusted, the attacker cannot reach the code path; impact is confined to availability of the single Node.js process/event loop, with no confidentiality or integrity effect. |
| Impact | All signals are internally consistent and point to a genuine but bounded availability risk. The supplied CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) is corroborated by the description and the source-code evidence: toml.parse() feeds unbounded digit sequences to BigInt() in lib/parser.js before reduceInteger() in lib/compiler.js enforces the 64-bit range, so a single crafted document triggers super-linear CPU work that synchronously blocks the Node.js event loop. Exploitation status is 'no public exploit identified at time of analysis' - there is no CISA KEV listing and no POC flag in the input, and no EPSS score was provided, so exploitation probability cannot be quantified from the data. The impact is strictly availability (C:N/I:N - no data disclosure or integrity loss), which caps this as a denial-of-service issue rather than a code-execution priority despite the HIGH base score. The practical gating factor, not reflected in the CVSS vector, is that the vulnerable code path only executes when the application passes attacker-influenced TOML to the parser; where TOML input is trusted or operator-supplied only, real-world risk is low. Net: a legitimate patch-soon DoS bug for services that parse untrusted TOML, but not a drop-everything priority absent active-exploitation evidence. |
| Exploit ScenarioDerived | An application uses toml-node (<5.0.1) to parse TOML supplied by untrusted users - for example a config-upload endpoint, a webhook payload, or a multi-tenant build/CI service. The attacker submits a small TOML document containing one extremely long hexadecimal, octal, binary, or decimal integer literal; BigInt() spends super-linear CPU converting it and blocks the single-threaded event loop, stalling all concurrent requests in that process. No public exploit code is identified at time of analysis, but the trigger is trivial to construct from the public advisory and commit diff. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 21, 2026
Denial of service in toml-node versions prior to 5.0.1 allows remote attackers to synchronously block the Node.js event loop by supplying a TOML document containing an extremely long hexadecimal, octal, binary, or decimal integer literal. Because toml.parse() calls BigInt() on the digit sequence before the 64-bit range check runs in reduceInteger(), conversion cost grows super-linearly with digit count, so a single crafted document can stall all concurrent work in the process (CVSS 3.1: 7.5, AV:N/AC:L/PR:N/UI:N, availability-only). The flaw is exploitable only where an application parses attacker-influenced TOML; there is no confidentiality or integrity impact, no public exploit code identified at time of analysis, and the issue is fixed in 5.0.1.
RemediationAI
Upgrade toml-node to version 5.0.1 or later, which adds a pre-conversion length gate (integerNode() with per-radix MAX_INT64_DIGITS limits) so oversized integer literals raise a parse error before BigInt() is invoked; the fix is in commit 9d52e384f6030932174d1afb0d910154dd62dead and documented in advisory GHSA-9qmh-m7c6-f92p. If an immediate upgrade is not possible, compensate at the boundary: enforce a strict maximum request/body size and reject TOML payloads whose integer literals exceed 16 hex, 19 decimal, 21 octal, or 63 binary digits before handing content to toml.parse() (trade-off: legitimate large documents or unusual literals will be refused, and custom pre-scanning must mirror the grammar or it can be bypassed by underscores or leading zeros). Alternatively, run parsing inside a worker thread or child process with a hard CPU timeout so a stalled conversion is terminated rather than blocking the main event loop (trade-off: added architectural complexity and per-parse latency, and the worker still burns CPU and memory until killed). Restricting who can submit TOML to trusted operators removes exposure entirely but is only viable where input trust is genuinely enforceable; note that the later range check in reduceInteger() is not a mitigation on its own.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
toml-node is a TOML parser for Node.js and the browser, generated from a PEG.js grammar (src/toml.pegjs) into lib/parser.js with semantic actions in lib/compiler.js. In affected builds, the integer rules for hex (0x), octal (0o), binary (0b), and decimal literals passed the raw, underscore-stripped digit sequence straight to BigInt() while building the Integer node. JavaScript BigInt parsing of a numeric string is super-linear in digit count, so a multi-megabyte literal consumes CPU disproportionate to input size and runs synchronously on the main thread. The TOML 64-bit signed range validation performed later by reduceInteger() in the compiler cannot mitigate this, because it executes only after the expensive BigInt() conversion has already completed. This is CWE-400 (Uncontrolled Resource Consumption) - the parser accepts unbounded digit sequences rather than bounding literal length before conversion. The upstream fix (commit 9d52e384) introduces an integerNode() helper that rejects literals exceeding the maximum int64 digit count per radix (63 binary, 21 octal, 19 decimal, 16 hexadecimal) prior to any BigInt() call, while retaining the exact range check in the compiler for values that pass the length gate.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remote unauthenticated parsing of attacker-supplied TOML with no interaction (AV:N/AC:L/PR:N/UI:N); event-loop blocking yields A:H only, with no confidentiality or integrity impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
Technical POC Analysis
Evidence basis: this breakdown is written from advisory GHSA-9qmh-m7c6-f92p only.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
toml-node versions prior to 5.0.1 contain a denial-of-service vulnerability that allows an unauthenticated remote attacker to stall the Node.js event loop by submitting a crafted TOML document with an extremely long integer literal, causing all concurrent work in the process to halt. Any application that parses attacker-influenced TOML is affected, leading to service unavailability, though there is no confidentiality or integrity impact. Leadership should prioritize patching because a single malicious input can disrupt business-critical services without authentication.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic
EUVD-2026-107556
GHSA-9qmh-m7c6-f92p
NVD
CVE.org
EPSS
VulDB
Exploit-DB