<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Gzip-Bomb - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/gzip-bomb/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Mon, 20 Jul 2026 21:56:26 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/gzip-bomb/feed.xml" rel="self" type="application/rss+xml"/><item><title>node-tar Decompression/Parse DoS Vulnerability via Unlimited Input</title><link>https://feed.craftedsignal.io/briefs/2026-07-node-tar-dos/</link><pubDate>Mon, 20 Jul 2026 21:56:26 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-node-tar-dos/</guid><description>A Denial of Service (DoS) vulnerability (CVE-2026-59873) exists in the `node-tar` library (npm/tar &lt;= 7.5.18) due to a lack of hard upper bounds on total decompressed data or entry counts, allowing an unauthenticated attacker to craft a small 'Gzip Bomb' archive that exhausts server resources like disk space and CPU, leading to system-wide failure and service outages.</description><content:encoded><![CDATA[<p>An unauthenticated attacker can exploit a critical Denial of Service (DoS) vulnerability, identified as CVE-2026-59873, in the <code>node-tar</code> library (npm/tar versions &lt;= 7.5.18). This vulnerability stems from the library's failure to enforce hard upper bounds on the total volume of decompressed data or the number of entries during archive extraction. Attackers can leverage this by crafting a small, malicious &quot;Gzip Bomb&quot; archive. When processed by a vulnerable application, this archive rapidly expands to consume all available disk space and CPU resources on the target system. This can lead to system-wide failures and widespread service outages for any application that relies on <code>node-tar</code> to process archives from untrusted sources, such as npm registries, CI/CD pipelines, or file-sharing platforms.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An unauthenticated attacker crafts a small, highly compressed archive, commonly referred to as a &quot;Gzip Bomb&quot;.</li>
<li>This malicious archive includes a TAR header that falsely claims an extremely large file size for its contents (e.g., 10 gigabytes).</li>
<li>The actual content of the archive consists of highly compressible data, such as repeating null bytes.</li>
<li>A vulnerable application using the <code>node-tar</code> library (version 7.5.18 or earlier) attempts to extract this attacker-supplied archive.</li>
<li>The <code>node-tar</code> <code>Unpack</code> stream processes the archive without enforcing any global limits on the total decompressed data size or the number of entries.</li>
<li>The library continuously writes the expanded, highly compressible data to the target system's disk, leading to rapid consumption of all available storage space.</li>
<li>The target system's disk resources are exhausted, causing critical applications and services to crash, resulting in a complete Denial of Service.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>This vulnerability poses a critical Denial of Service (DoS) threat. Any application or service that utilizes <code>node-tar</code> (npm/tar) to extract archives from untrusted sources is susceptible. This could include crucial infrastructure like npm registries, CI/CD pipelines, or file-sharing platforms. An unauthenticated attacker can, with a minuscule input, trigger the rapid exhaustion of all available disk space and CPU resources on the target system. This leads to system instability, crashes, and widespread service outages, preventing legitimate users from accessing critical services and significantly disrupting operations.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch CVE-2026-59873 by updating the <code>npm/tar</code> package to a version greater than 7.5.18 immediately.</li>
<li>Implement resource limits, such as disk quotas and process memory limits, on systems that process untrusted archives to mitigate the impact of resource exhaustion attacks.</li>
<li>Monitor disk space utilization and CPU load on servers processing user-supplied archives to detect and respond to abnormal resource consumption patterns.</li>
</ul>
]]></content:encoded><category domain="severity">low</category><category domain="type">advisory</category><category>denial-of-service</category><category>software-supply-chain</category><category>library-vulnerability</category><category>nodejs</category><category>tar</category><category>gzip-bomb</category><category>cve-2026-59873</category></item></channel></rss>