CVE-2026-59874: node-tar: Negative tar entry size causes infinite loop in archive replace
Vulnerability summary
CVE-2026-59874 is a high (CVSS 8.7) Loop with Unreachable Exit Condition vulnerability in isaacs node-tar. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 39.4% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 1Timeline
- 08-07-2026PublishedVulnerability first disclosed.
- 08-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
10 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · NpmEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- NVDNIST8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.43%
Chance of exploitation in the next 30 days
Percentile
39%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.43% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundNode Tar
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard42 products
- actions-runner< 2.336.0-r1
- code-server< 4.129.0-r1
- gitlab-rails-ce-18.1< 18.1.6-r31
- gitlab-rails-ce-18.10All versions (No fix recorded)
- gitlab-rails-ce-18.6All versions (No fix recorded)
Wolfi10 products
- code-server< 4.129.0-r1
- jupyter-base-notebook< 7.6.3-r2
- kubeflow-centraldashboard< 1.10.0-r25
- lerna< 9.0.7-r11
- npm< 12.0.0-r1
Debian1 product
- node-tarAll versions (No fix recorded) | < 7.5.19+~4.0.1-1
Npm1 product
- tar< 7.5.18
Ubuntu1 product
- node-tarAll versions (No fix recorded)
6 vendors · 57 products
References
9 links- github.com/isaacs/node-tar/security/advisories/GHSA-8x88-c5mf-7j5wX Refsource CONFIRMREPORTAdvisoryWEBExploitVendor Advisory
- github.com/isaacs/node-tar/commit/9e78bf058b2c22dd4d52e00d8922d5c06fc2f7b5X Refsource MISCFIXWEBPatch
- github.com/isaacs/node-tarPACKAGE