CVE-2026-140252
Deferred Deferred - Pending Action

Uncontrolled Stream Completion in node-tar

Vulnerability report for CVE-2026-140252, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-01

Last updated on: 2026-12-01

Assigner: GitHub, Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-01
Last Modified
2026-12-01
Generated
2026-12-01
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
node-tar node-tar 8.0.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-696 The product performs multiple related behaviors, but the behaviors are performed in the wrong order in ways that may produce resultant weaknesses.
CWE-911 The product uses a reference count to manage a resource, but it does not update or incorrectly updates the reference count.
CWE-667 The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
AI Quick Actions have not been generated yet.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-140252. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...