CVE-2026-59873Published Jul 8, 2026 · Jul 8Updated Oct 28
node-tar: Decompression/parse DoS via unlimited input
isaacs node-tar
Critical9.2Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tar npm |
|
|
Original description
node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.19, node-tar does not enforce hard upper bounds on total decompressed data, entry counts, or decompression ratio in extraction and parsing paths such as src/extract.ts, allowing a small crafted gzip bomb to exhaust disk space and CPU. This issue is fixed in version 7.5.19.
From the CVE record · GitHub_M
References
- github.com/isaacs/node-tar/security/advisories/GHSA-23hp-3jrh-7fpwVendor advisory
- github.com/isaacs/node-tar/commit/2812e9338665659b183aa7226518c307044957d3Patch
- github.com/isaacs/node-tar/releases/tag/v7.5.19Release notes
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59873.json
- nvd.nist.gov/vuln/detail/CVE-2026-59873
- github.com/isaacs/node-tar