node-tar async extraction deadlocks permanently when an entry's linkpath is a hierarchical relative of its own path
Summary
| CVE | CVE-2026-140251 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-01 19:17:14 UTC |
| Updated | 2026-12-01 19:17:15 UTC |
| Description | node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, node-tar contains a path-reservation deadlock affecting asynchronous archive extraction on POSIX systems. An attacker who can supply a crafted archive containing an entry whose link target is an ancestor or descendant of its own path can cause extraction to stall indefinitely, resulting in denial of service. Synchronous extraction and extraction on Windows are unaffected. This issue is fixed in version 8.0.0. |
Risk And Classification
Primary CVSS: v4.0 7.1 HIGH from [email protected]
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Problem Types: CWE-667 | CWE-833 | CWE-667 CWE-667: Improper Locking | CWE-833 CWE-833: Deadlock
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 7.1 | HIGH | 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/E:X/C... |
| 4.0 | CNA | DECLARED | 7.1 | HIGH | 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 |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
NonePrivileges Required
NoneUser Interaction
PassiveConfidentiality
NoneIntegrity
NoneAvailability
HighSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/isaacs/node-tar/security/advisories/GHSA-98v3-7xjr-fg83 | [email protected] | github.com | |
| github.com/isaacs/node-tar/releases/tag/v8.0.0 | [email protected] | github.com | |
| github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.