CVE-2026-59875: CWE-248: Uncaught Exception in isaacs node-tar
node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.17, node-tar does not strip NUL bytes from PAX path and linkpath records in src/pax.ts, allowing a crafted archive with values to reach fs.lstat or fs.open and terminate the process with an uncaught exception. This issue is fixed in version 7.5.17.
AI Analysis
Technical Summary
The vulnerability in node-tar (CVE-2026-59875) involves improper handling of NUL bytes in PAX path and linkpath records within tar archives. Versions before 7.5.17 allow these crafted values to reach filesystem operations such as fs.lstat or fs.open without proper sanitization, resulting in an uncaught exception that terminates the Node.js process. This is classified under CWE-248 (Uncaught Exception). The issue is resolved in node-tar version 7.5.17.
Potential Impact
An attacker can craft a malicious tar archive that, when processed by vulnerable node-tar versions, causes the Node.js process to terminate unexpectedly due to an uncaught exception. This results in a denial of service (DoS) condition. There is no impact on confidentiality or integrity according to the CVSS vector.
Mitigation Recommendations
Upgrade node-tar to version 7.5.17 or later, where this issue is fixed by stripping NUL bytes from PAX path and linkpath records. No other mitigations are indicated.
CVE-2026-59875: CWE-248: Uncaught Exception in isaacs node-tar
Description
node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.17, node-tar does not strip NUL bytes from PAX path and linkpath records in src/pax.ts, allowing a crafted archive with values to reach fs.lstat or fs.open and terminate the process with an uncaught exception. This issue is fixed in version 7.5.17.
CVSS v3.1
Score 5.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in node-tar (CVE-2026-59875) involves improper handling of NUL bytes in PAX path and linkpath records within tar archives. Versions before 7.5.17 allow these crafted values to reach filesystem operations such as fs.lstat or fs.open without proper sanitization, resulting in an uncaught exception that terminates the Node.js process. This is classified under CWE-248 (Uncaught Exception). The issue is resolved in node-tar version 7.5.17.
Potential Impact
An attacker can craft a malicious tar archive that, when processed by vulnerable node-tar versions, causes the Node.js process to terminate unexpectedly due to an uncaught exception. This results in a denial of service (DoS) condition. There is no impact on confidentiality or integrity according to the CVSS vector.
Mitigation Recommendations
Upgrade node-tar to version 7.5.17 or later, where this issue is fixed by stripping NUL bytes from PAX path and linkpath records. No other mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-07T15:41:53.607Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4e73c2c9d9e3dbe36042cf
Added to database: 07/08/2026, 15:58:58 UTC
Last enriched: 07/16/2026, 10:14:09 UTC
Last updated: 08/22/2026, 10:52:10 UTC
Views: 116
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.