Prior to 8.0.0, when node-tar processes compressed attacker-controlled input, node zlib can materialize the inflated output before maxDecompressionRatio is evaluated.
- CVSS
- 7.1High
- Chance of exploitation (EPSS)
- 0.80%
- Published
- Dec 1, 2026
- In the news
- 1 story
What to do
A serious security flaw in Isaacs Node-tar that can be attacked over the network without logging in, if someone is tricked into an action. Exploit code is public, so patch it soon.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Isaacs Node-tar
- < 8.0.0
Description
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, when node-tar processes compressed attacker-controlled input, node zlib can materialize the inflated output before maxDecompressionRatio is evaluated. The guard therefore observes an allocation after it occurred rather than bounding it, allowing memory exhaustion despite the configured ratio limit. This issue is fixed in version 8.0.0.
Affected products
Get alerts for these →Timeline 4
Latest change: googlesky/CVE-2026-140229: node-tar decompression-bomb OOM (CVE-2026-140229, HIGH): the ratio guard runs after inflation, so a 65 KB zstd archive kills the process at default options. Real-library differential: vuln SIGKILLed,… (Dec 5, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Yesterday
- Exploit codegooglesky/CVE-2026-140229: node-tar decompression-bomb OOM (CVE-2026-140229, HIGH): the ratio guard runs after inflation, so a 65 KB zstd archive kills the process at default options. Real-library differential: vuln SIGKILLed,…GitHub (unverified) · 20:15 UTC
- Researchtar: node-tar: Denial of service via unbounded memory allocation bypassing maxDecompressionRatioGitHub Advisories · 00:16 UTC
Wed, Dec 2, 2026
- Researchtar: node-tar PathReservations.getDirs() quadratic memory amplification via unbounded symlink linkpath depth — uncatchable OOM process killGitHub Advisories · 18:33 UTC
Tue, Dec 1, 2026
- CVECVE-2026-140229 published (CVSS 7.1)CVE Program · 16:48 UTC
Exploit code
Visit at your own risk. These are third-party sites we find automatically. We do not test, review or vouch for them, and fake proof-of-concept repositories sometimes contain malware.
References 4
- github.com /isaacs/node-tar/security/advisories/GHSA-9239-v992-p74f
- github.com /isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2
- github.com /isaacs/node-tar/commit/da66090c7a44b2140bd4a6343c478a8e411e1aa7
- github.com /isaacs/node-tar/releases/tag/v8.0.0