node-tar UnpackSync never completes sync-stream extraction after any failing entry (PEND/UNPEND imbalance)
Affects tarSource GCVE Database
Not known to be exploited · CVSS 7.1 High : upgrade to 8.0.0 soon.
Data as of 1 Dec 2026, 20:04 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 7.1 |
|---|
- Patch
- Available – fixed in 8.0.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade tar to 8.0.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmtar | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix for this issue is available in tar version 8.0.0. Users should upgrade to version 8.0.0 or later to resolve the problem. No additional mitigation is required as the vulnerability is addressed by the official patch.
Description
A vulnerability in the node-tar package's synchronous stream extraction (UnpackSync) causes the extraction stream to hang indefinitely after processing any archive entry that fails, such as a hardlink with a nonexistent target. This occurs because the internal pending counter becomes negative, preventing the stream from emitting completion events like 'end', 'finish', or 'close'. The issue affects only the synchronous stream extraction without the 'file' option and does not impact the asynchronous API or the synchronous file-based API. The vulnerability results in a denial of service by causing consumers awaiting stream completion to hang indefinitely, but it does not affect confidentiality, integrity, or write incorrect data. A fix is available in version 8.0.0.