CVE-2026-140240
Published:December 01, 2026
Updated:December 03, 2026
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.2, a small crafted archive can exhaust memory or CPU through several path bookkeeping paths. Asynchronous PathReservations performs excessive work for unbounded linkpath depth and long path components, retains completed reservation state, and stores long names in the normalizeUnicode cache whose entry-count limit does not bound bytes. Separately, filesFilter memoizes path prefixes when the caller supplies a file list. This issue is fixed in version 8.0.2.
Affected Packages
https://github.com/isaacs/node-tar.git (GITHUB):
Affected version(s) >=0.1.0 <v8.0.2 || >=v0.1.14 <v8.0.2 || >=v1.0.0 <v8.0.2 || >=v2.0.0 <v8.0.2 || >=v3.0.0 <v8.0.2 || >=v4.0.0 <v8.0.2 || >=v5.0.0 <v8.0.2 || >=v6.0.0 <v8.0.2 || >=v7.0.0 <v8.0.2 || >=v8.0.0 <v8.0.2Fix Suggestion:
Update to version v8.0.2tar (NPM):
Affected version(s) >=3.0.0 <8.0.2 || >=1.0.0 <8.0.2 || >=4.0.0 <8.0.2 || >=0.0.1 <8.0.2 || >=5.0.0 <8.0.2 || >=2.0.0 <8.0.2 || >=6.0.0 <8.0.2 || >=8.0.0 <8.0.2 || >=7.0.0 <8.0.2Fix Suggestion:
Update to version 8.0.2tar (NPM):
Affected version(s) >=0.0.1 <8.0.2Fix Suggestion:
Update to version 8.0.2Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.87