Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted zstd-magic archive to listing/extraction endpoint
-
ExploitCompression sniffer constructs unguarded ZstdDecompress
-
ExecutionConstructor throws synchronous TypeError in read callback
-
ImpactAsync promise never settles, uncaught exception crashes Node process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
|
| Exploitation Conditions | Exploitation requires the target to (1) use node-tar in the vulnerable range (>=7.5.22, <8.0.0), (2) process an attacker-supplied archive through the ASYNCHRONOUS file API specifically (tar.t({file}) or tar.x({file})), and (3) run on a Node.js runtime WITHOUT native zstd support - namely Node 18.x, 20.x, 21.x, 22.0-22.14, or 23.0-23.7. The malicious input is trivial: four attacker-controlled bytes carrying the zstd magic header (28 b5 2f fd), with no valid tar structure needed. Limiting factors that reduce real-world risk: the flaw is completely INERT on Node 22.15+, 23.8+, and 24+ (native ZstdDecompress exists there and the same input is handled as a catchable error), and it does NOT trigger in synchronous mode or on direct stream writes, which throw catchably from the caller's stack on all runtimes. No authentication and no human interaction are required; it fires automatically in pipelines such as npm-style installs and CI artifact processing. |
| Impact | This is a genuine but bounded priority. The CVSS 4.0 vector (AV:N/AC:L/PR:N, availability-only VA:H, score 7.1) and the vuln.today 'this_week' decision label agree this is a remotely reachable, low-complexity, unauthenticated flaw worth prompt patching but not an emergency - consistent with an availability-only impact (no confidentiality or integrity loss, SSVC technical impact is partial/DoS rather than total system takeover). A working PoC is published in the GHSA advisory, which raises real-world likelihood above a theory-only bug, but there is NO CISA KEV listing and NO EPSS score in the provided data, so there is no evidence of active or automated exploitation - treat the exploit as available-but-not-yet-observed-in-the-wild. The single most important risk modulator is NOT in the CVSS score: exploitability is conditional on the target Node.js runtime lacking native zstd (Node 18.x, 20.x, 21.x, 22.0-22.14, 23.0-23.7) and is completely inert on Node 22.15+/23.8+/24+ and in synchronous/stream mode - so an org's true exposure depends on its Node version fleet, not just whether it ships node-tar. One signal conflict to verify: the supplied CVSS 4.0 vector sets UI:P (passive user interaction) while the GHSA advisory explicitly states 'no user interaction' and highlights fully-automated triggers (npm installs, CI artifact processing) - the 'no interaction' reading is better supported by the evidence and makes the flaw slightly more severe than UI:P implies. |
| Exploit ScenarioDerived | An attacker places a four-byte file beginning with the zstd magic (28 b5 2f fd) into any location an affected service later lists or extracts with node-tar's async file API (tar.t({file}) / tar.x({file})) - for example a package tarball, an uploaded archive, or a CI build artifact. Because compression sniffing constructs a ZstdDecompress with no error handling, on a Node runtime without native zstd the constructor throws synchronously inside the file-read data handler, the returned promise never settles, and the process dies with an uncaught exception. A validated working PoC is published in the GHSA advisory (confirmed crashing Node v20.20.2); the network vector and low complexity (AV:N/AC:L) mean no privileges and no special tooling are needed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
A process-crashing denial of service in node-tar 7.5.22 up to (but not including) 8.0.0 lets a four-byte attacker-supplied file kill any Node.js process that lists or extracts it through the asynchronous file API (tar.t({file}) / tar.x({file})). Because node-tar's default compression sniffing recognizes the Zstandard magic header and constructs new ZstdDecompress({}) without a guard, runtimes lacking native zstd support (Node 18.x, 20.x, 21.x, 22.0-22.14, 23.0-23.7) throw a TypeError inside the read stream's data handler that never reaches the caller's promise, so try/catch and .catch() cannot contain it and the process dies. Availability-only impact with no confidentiality or integrity loss, unauthenticated and requiring no interaction; the flaw is inert on Node 22.15+/23.8+/24+ and does not trigger in synchronous mode or on direct stream writes. A validated proof-of-concept is published in the upstream advisory and was confirmed to crash Node 20.20.2; there is no indication of active exploitation and no public exploit identified beyond that advisory PoC at time of analysis. Vendor-released patch: 8.0.0.
RemediationAI
Upgrade node-tar to 8.0.0, the exact fixed release (release tag https://github.com/isaacs/node-tar/releases/tag/v8.0.0, fix commit 73b352e0010d6c99794ea7374800816a46d3bdb2), which wraps the ZstdDecompress construction in try/catch and routes the failure through Parser.abort() so the async promise rejects normally instead of killing the process; see the advisory at https://github.com/isaacs/node-tar/security/advisories/GHSA-72fp-85cc-g945. As an interim compensating control where the upgrade cannot be applied immediately, move the affected workload onto Node 22.15+, 23.8+ or 24+, where zlib.ZstdDecompress exists and the same input produces a catchable rejection rather than a crash - the trade-off is a runtime upgrade and revalidation of the host application. Avoiding the asynchronous file API (tar.t({file}) / tar.x({file})) in favour of synchronous mode or direct stream writes also prevents the crash, since those paths throw catchably from the caller's stack on all runtimes, but that requires application code changes and does not protect third-party code that calls the async API internally. Installing a process-level uncaughtException handler will keep the process alive but does not resolve the underlying condition: the tar operation's promise never settles, so the request hangs instead of failing cleanly, and the process remains in an inconsistent state. Updating to 8.0.0 is the only complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, 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 widely deployed tar archive manipulation library for Node.js (CPE cpe:2.3:a:isaacs:node-tar), used directly and transitively in npm-style package installation and CI artifact processing. In the affected range its Parser.write() sniffs the first bytes of every input stream for compression magic; when it sees the Zstandard magic 28 b5 2f fd it takes the isZstd branch and constructs new ZstdDecompress({}) (src/parse.ts, around lines 544-550) with no surrounding error handling. On a runtime whose node:zlib exposes no zstd binding, minizlib's ZlibBase constructor throws TypeError: Compression method not supported: ZstdDecompress synchronously. Critically, that construction runs inside the file-read stream's data handler (ReadStream.emit -> Unpack.write -> new ZstdDecompress), so the throw is not routed through the stream 'error' event or Parser.abort(); for the async file form the returned promise never settles and the exception escapes as an uncaught exception, which is the CWE-248 (uncaught exception) class, with CWE-755 (improper handling of exceptional conditions) also assigned. zlib.ZstdDecompress was added in Node v23.8.0 and backported to v22.15.0, so on those and later runtimes the class exists and the identical four-byte input is handled through the normal catchable error path instead. The upstream fix in 8.0.0 wraps the decompressor construction in try/catch, calls this.abort(er), and returns false so the failure surfaces as a normal rejection; the same commit also hardens unrelated resource-limit paths (end-of-archive handling, path reservation, linkpath depth and MAX_PATH_LENGTH checks).
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
Remote attacker-supplied file auto-processed in pipelines so AV:N/PR:N/UI:N; trivial 4-byte trigger gives AC:L; availability-only process crash gives A:H with C/I:N.
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. From 7.5.22 until 8.0.0, node-tar fails to handle an exception when automatically detecting Zstandard (zstd) compression on Node.js runtimes without native zstd support. An attacker who can supply a specially crafted input file to the asynchronous file listing or extraction API can cause an uncaught exception that terminates the process, resulting in denial of service. This issue is fixed in version 8.0.0.
Blast Radius
ecosystem impact- 23,668 npm packages depend on tar (6,248 direct, 17,545 indirect)
Ecosystem-wide dependent count for version 7.5.22.
Articles & Coverage 1
Technical POC Analysis
The defect is an uncaught exception (CWE-248, with CWE-755 as the underlying improper handling of an exceptional condition) in node-tar's default compression sniffing.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A process-crashing denial-of-service flaw in the widely used node-tar library (versions 7.5.22 through 8.0.0) allows even a four-byte malicious file to terminate any Node.js process that lists or extracts it using the asynchronous API on certain Node.js runtimes. This vulnerability can be triggered by unauthenticated users without interaction, potentially causing service outages for any product or service that processes untrusted tar archives. Leadership should prioritize remediation because a single crafted file can take down production systems, impacting availability and customer trust.
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-140447
GHSA-72fp-85cc-g945
NVD
CVE.org
Exploit-DB