Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malformed tar entry (e.g. dangling hardlink)
-
ExploitVictim extracts via UnpackSync / x({sync:true}) stream
-
ExecutionEntry fails, PENDING counter driven negative
-
ImpactStream never emits end/finish/close, consumer hangs permanently
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Proper locking
|
| Exploitation Conditions | Exploitation requires that the consuming application uses node-tar's synchronous stream extraction specifically - tar.x({ sync: true }) WITHOUT the 'file' option, or a directly-constructed UnpackSync stream - AND awaits the stream's end/finish/close events; such consumers hang permanently after the first failing entry. The victim must process an attacker-supplied or merely damaged archive (UI:P), which need only contain one crafted 512-byte failing entry (e.g. a hardlink to a nonexistent target). Strong limiting factors sharply reduce real-world exposure: the default asynchronous API and the common file-based synchronous API (x({ sync: true, file }), which returns void) are NOT affected, and only versions 7.5.22 through <8.0.0 are vulnerable. There is no confidentiality or integrity impact and no incorrect data is written to disk (the failing entry is simply not created). |
| Impact | This is a genuine but narrowly-scoped availability issue, not a top-tier emergency. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) and CWE-667 (improper locking / PEND-UNPEND imbalance) agree with the advisory: impact is availability-only (permanent stream hang), with no confidentiality or integrity effect, confirmed explicitly by the vendor advisory ('No confidentiality or integrity effect and no incorrect data is written'). The 'Information Disclosure' tag in the input therefore contradicts every other signal and appears mislabeled. SSVC signals are consistent and moderate: Exploitation=poc (a validated PoC exists, but no active exploitation), Automatable=no, Technical Impact=partial - matching the vuln.today 'this_week' priority rather than act_now/emergency. KEV status is NO and no EPSS score was provided, so there is no evidence of widespread or targeted active exploitation. The real-world risk is further bounded by the narrow trigger surface: only consumers using the synchronous stream API (UnpackSync, or x({sync:true}) without file) who await end/finish/close are affected, and only in versions 7.5.22 through <8.0.0. Net: a real priority to patch for the specific subset of affected consumers, but low systemic urgency given availability-only impact, non-automatable exploitation, and the uncommon API usage pattern required. |
| Exploit ScenarioDerived | An attacker supplies a malformed tar archive - a single 512-byte entry such as a hardlink pointing to a nonexistent target is sufficient - to an application that extracts it using node-tar's synchronous stream API and awaits stream completion. Extraction emits a non-fatal TAR_ENTRY_ERROR warning and then the stream never emits end, finish, or close, so the consumer hangs indefinitely with no catchable error, denying service. A validated proof-of-concept is published in the vendor's GHSA advisory (reproduced against tar@7.5.22 on Node v24.19.0). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Synchronous stream extraction in the npm package node-tar (versions 7.5.22 through 7.x, before 8.0.0) never emits end, finish, or close after any single archive entry fails, so a consumer that pipes into x({ sync: true }) without a file option - or into a directly constructed UnpackSync stream - and awaits completion hangs indefinitely. Unauthenticated remote attackers can trigger this by supplying an archive containing one failing 512-byte entry (for example a hardlink whose target does not exist), which produces only a non-fatal TAR_ENTRY_ERROR warning and then wedges the stream; the impact is availability only, with no data written and no confidentiality or integrity effect. A validated public proof-of-concept is published in the upstream advisory (SSVC exploitation status: PoC), and the issue is fixed in node-tar 8.0.0. Exposure is sharply limited because the default asynchronous API and the common file-based synchronous API (x({ sync: true, file })) are not affected.
RemediationAI
Upgrade node-tar to 8.0.0 or later, the version in which the vendor fixed the issue; the change is in commit 73b352e0010d6c99794ea7374800816a46d3bdb2 and the release is tagged at https://github.com/isaacs/node-tar/releases/tag/v8.0.0, with details in advisory GHSA-25mm-r35j-6hgm. When upgrading is not immediately possible, avoid the affected configuration entirely by using the default asynchronous API or the file-based synchronous API (x({ sync: true, file })), both of which are unaffected; for consumers that must keep the sync-stream path, bound the damage by wrapping extraction in an explicit timeout or abort so a wedged stream cannot hold a worker or request indefinitely, at the cost of surfacing an artificial error where a real completion event would normally occur. Because a single damaged or hostile 512-byte entry is enough to hang the stream once it fails, treat any archive accepted from untrusted sources as a potential trigger until the dependency is bumped; the upstream advisory notes the disk state remains fail-closed (the failing entry is not created), so there is no cleanup burden on disk after an attempted attack.
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's Unpack class implements a reference-counted pending mechanism: each entry's filesystem work is bracketed with [PEND]() and [UNPEND](), and [MAYBECLOSE] emits prefinish/finish/end only when the parser has ended AND the pending counter is exactly zero. UnpackSync[CHECKFS] performs the same per-entry work but, because all work completes when the parser ends, it never calls [PEND](). It also does not override the inherited [ONERROR] handler, which unconditionally calls [UNPEND]() for any non-CwdError entry failure while emitting a non-fatal TAR_ENTRY_ERROR warning. The result is a counter imbalance - the advisory classifies it under CWE-667 (improper locking) along with CWE-696 (incorrect behavior order) and CWE-911 (improper update of a reference count) - that drives the pending counter to -1 and permanently suppresses the completion events. A secondary fall-through in the same method (a missing return after the rmdir branch) can double-invoke MAKEFS on a directory-replacement entry, producing two warnings and a counter of -2. The upstream fix in the 8.0.0 commit adds a no-op [UNPEND]() override to the sync class so the counter is never decremented, alongside unrelated hardening (length/depth limits on path and linkpath, decompressor construction error handling, path-reservation bookkeeping). The advisory attributes the trigger to the stream's bookkeeping rather than to any parsing or memory-safety flaw; no confidentiality or integrity impact is described.
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
A single crafted archive entry reliably triggers the hang (AC:L, PR:N), but a victim must extract attacker-supplied input via the sync-stream API (UI:R); impact is availability-only (A:H, C:N, 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, during synchronous stream extraction, UnpackSync performs entry work without calling PEND, but inherited nonfatal error handling calls UNPEND after an entry fails. The pending counter becomes negative, so the exactly-zero completion condition is never reached and the stream does not emit end, finish, or close. The default asynchronous API and file-based synchronous API are not affected. 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
Executive ViewAI
A denial-of-service vulnerability in node-tar (versions 7.5.22 through 7.x) can allow an unauthenticated attacker to hang stream extraction indefinitely via a crafted archive, but only for applications using the synchronous streaming API without a file option. This impacts service availability for affected consumers, though the default asynchronous API and common synchronous file-based usage remain unaffected, limiting overall organizational exposure.
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
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-140462
GHSA-25mm-r35j-6hgm
NVD
CVE.org
Vulnrichment
Exploit-DB