CVE-2026-59871 Details
Description
node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.18, node-tar coerces all-digit PAX path and linkpath values in src/pax.ts to JavaScript numbers, causing downstream path handling such as normalizeWindowsPath(entry.path).split('/') to throw an uncaught TypeError. This issue is fixed in version 7.5.18.
A denial-of-service vulnerability has been identified in node-tar, a tar archive manipulation library for Node.js, in versions prior to 7.5.18. The issue arises because the PAX header parser incorrectly converts all-digit path values into JavaScript numbers. This conversion leads to a TypeError when the path is processed by downstream code, which expects a string. The error occurs because numbers do not have a split method, causing the Node.js process to crash. This vulnerability can be exploited by creating a tar archive with a PAX header that includes an all-digit path, which then crashes the process when extracted.
Users can upgrade to node-tar version 7.5.18 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvp | CISA-ADP | ExploitVendor Advisory |
| https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b | [email protected] | Patch |
| https://github.com/isaacs/node-tar/releases/tag/v7.5.18 | [email protected] | Release Notes |
| https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvp | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-704 | Incorrect Type Conversion or Cast | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| isaacs tar | < 7.5.18 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 10, 2026 | Initial Analysis | [email protected] |
| Jul 8, 2026 | CVE Modified | CISA-ADP |
| Jul 8, 2026 | New CVE Received | [email protected] |