Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-140242
Published:December 01, 2026
Updated:December 02, 2026
node-tar is a tar archive manipulation library for Node.js. From 7.0.0 until 7.5.24, tar: non-finite PAX size (Infinity) bypasses validation, causing extraction entry loss and an uncaught exception when re-packing. The affected security path includes tar, size, 17 size=Infinity\n. This issue is fixed in version 7.5.24.
Affected Packages
https://github.com/isaacs/node-tar.git (GITHUB):
Affected version(s) >=v7.0.0 <v7.5.24
Fix Suggestion:
Update to version v7.5.24
tar (NPM):
Affected version(s) >=7.0.0 <7.5.24
Fix Suggestion:
Update to version 7.5.24
Do you need more information?
Contact Us
CVSS 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
LOW
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
HIGH
Weakness Type (CWE)
Improper Validation of Specified Quantity in Input