CVE-2026-59874
HIGH
8.7
CVSS 4.0
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.
Metadata
Severity & Metrics
8.7
HIGH CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| isaacs | node-tar | — | < 7.5.18 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-835 | cna | CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 8.7 | HIGH | 4.0 | cna | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
References (3)
- https://github.com/isaacs/node-tar/security/advisories/GHSA-8x88-c5mf-7j5w https://github.com/isaacs/node-tar/security/advisories/GHSA-8x88-c5mf-7j5w
- https://github.com/isaacs/node-tar/commit/9e78bf058b2c22dd4d52e00d8922d5c06fc2f7b5 https://github.com/isaacs/node-tar/commit/9e78bf058b2c22dd4d52e00d8922d5c06fc2f7b5
- https://github.com/isaacs/node-tar/releases/tag/v7.5.18 https://github.com/isaacs/node-tar/releases/tag/v7.5.18