CVE-2026-59874 Details
Description
node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.18, tar.replace accepts a checksum-valid tar header with a negative base-256 encoded entry size, causing the archive scanner to make no progress while repeatedly parsing the same header. 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 when tar.replace() processes a checksum-valid tar header that contains a negative base-256 encoded entry size. This anomaly causes the archive scanner to get stuck in a loop, repeatedly parsing the same header without making any progress. As a result, applications that update tar archives controlled by an attacker can experience indefinite delays, pinning a worker process and causing a denial-of-service condition.
Users can upgrade to node-tar version 7.5.18 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
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-8x88-c5mf-7j5w | CISA-ADP | ExploitVendor Advisory |
| https://github.com/isaacs/node-tar/commit/9e78bf058b2c22dd4d52e00d8922d5c06fc2f7b5 | [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-8x88-c5mf-7j5w | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [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] |