Critical DoS Flaw in node-tar Lets Gzip Bombs Exhaust CPU and Disk
Vulnerability Disclosure · 2 sources · Updated 4mo ago · First seen Jul 21, 2026

A critical denial-of-service vulnerability in the widely used node-tar package, tracked as CVE-2026-59873, allows crafted gzipped tar archives to trigger unbounded decompression and consume massive CPU and disk resources. The flaw affects versions up to and including 7.5.18, where missing limits on total decompressed output and archive entry handling let a small gzip bomb expand into gigabytes of data, potentially crashing services that automatically process untrusted tar files.
The issue is described as remotely triggerable without authentication or user interaction when applications parse attacker-controlled archives. Reported impacts include storage exhaustion, sustained 100% CPU utilization, and service failure. The vulnerability is mapped to CWE-770 and carries a CVSS 4.0 score of 9.2 from GHSA; it is patched in node-tar version 7.5.19, which adds compressed-versus-decompressed byte tracking and aborts extraction when a maximum decompression ratio is exceeded.


