Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify service extracting tar uploads
-
DeliveryCraft archive with deep LongLink linkpath
-
ExploitUpload 181-byte gzip archive
-
ExecutionTrigger extraction via node-tar
-
PersistQuadratic getDirs() allocation exhausts V8 heap
-
ImpactUncatchable OOM aborts process
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 | Exploitation requires that a Node.js application using node-tar prior to 8.0.0 extract an attacker-supplied tar/tar.gz archive (tar.x / Unpack) - for example any upload endpoint, CI/artifact pipeline, or package installer that calls node-tar on untrusted input. No authentication or special options are needed (the earlier CVE-2026-73566 required the 'files' option; this one does not), and default configurations are vulnerable. The specific trigger is a crafted archive combining a shallow entry.path (to pass the maxDepth=1024 guard) with a GNU K/LongLink extended header setting entry.linkpath thousands of segments deep, which the unguarded getDirs() expands into O(N²) memory. The principal LIMITING factor (reflected as UI:P in the CVSS 4.0 vector) is that some action must cause the malicious archive to be extracted; services that never auto-extract untrusted archives are not exposed. The failure is an uncatchable V8 heap-exhaustion abort, so no in-process error handling mitigates it - upgrading to node-tar 8.0.0 is the fix. |
| Impact | This is a genuine, actionable denial-of-service issue rather than an inflated high-CVSS score, but it is a pure availability problem with no confidentiality or integrity impact. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H, base 7.1) indicates a network-reachable, low-complexity, no-privilege attack whose only impact is availability (VA:H) - consistent with the CWE-400 uncontrolled-resource-consumption / heap-exhaustion mechanism described. The vuln.today decision label is 'this_week', signaling prompt but not emergency remediation. No EPSS score, no CISA KEV listing, and no SSVC automatable/technical-impact decision values were supplied in the input, so widespread-exploitation probability cannot be quantified from the data; absence of KEV means there is no confirmation of active exploitation. However, the advisory ships a complete, verified proof-of-concept (Python archive-crafting script plus a Node.js extraction harness with reproduced results on Node v24.18.0), so weaponization effort is minimal. The decisive risk amplifier is node-tar's deployment footprint: it is the extraction engine behind npm install and countless upload-processing services, so the exploitable surface is very broad and a 181-byte file produces an uncatchable process kill. The UI:P (passive interaction) metric is the main signal worth verifying against your deployment - exploitation requires that something trigger extraction of the attacker-supplied archive, which in most upload/CI pipelines happens automatically. |
| Exploit ScenarioDerived | An attacker uploads a tiny (as small as 181-byte gzip) crafted tar archive to any Node.js service that extracts .tar/.tar.gz input - a file-upload endpoint, CI artifact handler, or package-processing pipeline using node-tar. The archive carries a shallow entry.path that passes the maxDepth guard but a GNU LongLink linkpath thousands of segments deep, which drives quadratic allocation in PathReservations.getDirs() and exhausts the V8 heap before any filesystem syscall. A fully working, author-verified PoC exists, and the resulting OOM is uncatchable by try/catch, Promise .catch(), or uncaughtException, so the entire process aborts with no graceful recovery. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Extracting a crafted tar or tar.gz archive with node-tar before 8.0.0 can exhaust the Node.js heap and abort the whole process, giving an unauthenticated remote attacker a reliable denial of service against any service that unpacks attacker-supplied archives. The bypass pairs a shallow entry.path, which passes the existing maxDepth=1024 guard, with a GNU LongLink extended header whose entry.linkpath is thousands of segments deep; PathReservations.getDirs() then materializes every parent prefix of that path, producing O(N²) memory growth that no try/catch, Promise rejection handler or uncaughtException handler can intercept. The vendor advisory documents verified results, including a 181-byte gzip archive that kills a heap-capped Node.js process, so a public proof-of-concept accompanies the fix; no CISA KEV entry or other confirmation of exploitation in the wild is present in the supplied intelligence. Pure availability impact with no confidentiality or integrity effect, fixed in node-tar 8.0.0 and triaged as "this week" priority.
RemediationAI
Upgrade to node-tar 8.0.0 (for example npm install tar@8.0.0 or pin tar to ^8.0.0 in the lockfile), which is the vendor-released fix: the release is at https://github.com/isaacs/node-tar/releases/tag/v8.0.0, the fix commit is https://github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2, and the advisory is https://github.com/isaacs/node-tar/security/advisories/GHSA-xm6h-2993-3ch9; patch availability is confirmed by the vendor. Because the V8 heap exhaustion is uncatchable in-process, in-application error handling is not a mitigation. If upgrading cannot be done immediately, run extraction of untrusted archives in an isolated child process with a bounded heap (--max-old-space-size) and a supervisor that restarts it, accepting that a malicious archive will still abort that worker; or pre-screen archives before extraction by rejecting any entry whose linkpath segment count exceeds the permitted depth (1024) or whose path/linkpath exceeds 32768 characters, which mirrors the 8.0.0 checks but requires an out-of-band validation step and will not cover decompression wrappers unless applied to the expanded tar stream.
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
node-tar is the tar manipulation and extraction library used directly by many Node.js services and indirectly across the npm ecosystem, so the exposed surface is broad. The flaw is CWE-400 (uncontrolled resource consumption) in src/path-reservations.ts: reserve() pushes entry.linkpath into its path list without any depth validation, and getDirs() then materializes every parent-directory prefix of that path as individual JavaScript strings, an O(N²) allocation. The existing CHECKPATH routine enforces maxDepth=1024 segments only on entry.path, so a symlink entry with a shallow path such as "ln" passes the guard while a GNU K (LongLink) extended header sets linkpath to 10000 or more 'a/' segments. Because the GNU LongLink mechanism permits a linkpath up to roughly 1 MiB (about 524000 segments), the theoretical allocation target is hundreds of gigabytes. The failure occurs during reservation bookkeeping, before any filesystem syscall, so it surfaces as an uncatchable V8 heap-exhaustion abort rather than a catchable exception. Per CPE cpe:2.3:a:isaacs:node-tar all releases below 8.0.0 are affected; the CPE does not encode a finer version boundary, while the package data lists <= 7.5.22 and EUVD lists node-tar < 8.0.0. The trigger requires only that an application call tar.x / Unpack on the malicious archive with default options - unlike the earlier CVE-2026-73566 mapHas recursion issue, no 'files' option is needed. The 8.0.0 fix adds a linkpath segment-count check against maxDepth, caps path and linkpath at MAX_PATH_LENGTH of 32768 characters, deduplicates the reservations set, and adds parser-side hardening.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Network-delivered crafted archive, no privileges or auth; extraction must be triggered on attacker input (UI:R); impact is availability-only process-kill (A:H), no C or I.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, extraction of a crafted archive with a shallow entry path and deeply nested entry.linkpath bypasses the maxDepth guard and drives quadratic PathReservations.getDirs() allocation. A small crafted archive can exhaust the available Node.js heap and terminate the process. This issue is fixed in version 8.0.0.
Articles & Coverage 1
Executive ViewAI
CVE-2026-140230 in node-tar before version 8.0.0 allows an unauthenticated remote attacker to crash any Node.js service that extracts attacker-supplied tar archives by exhausting the heap, causing a reliable denial of service. The vulnerability is particularly dangerous because it can be triggered by a tiny 181-byte archive and cannot be caught by standard error handling. Leadership should prioritise this issue because it directly threatens the availability of file-processing APIs, CI/CD pipelines, and any application that unpacks user-uploaded archives, potentially leading to service outages and reputational damage.
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
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-140430
NVD
CVE.org
GitHub
Exploit-DB