Infinite.zip Guide
It relies on recursive compression —layers upon layers of nested ZIP files. A single file might contain 100 zip files, each containing 100 more, and so on. 2. How it Works (The Mechanics)
The file is built by compressing a set of files that are themselves compressed, repeating this process -levels deep.
Modern antivirus software and archiving tools (like 7-Zip) often limit the number of nested levels they will scan or extract to avoid this type of attack. Infinite.zip
The most infamous example, 42.zip , is a 42-kilobyte file that, when fully extracted, expands to 4.5 petabytes (
"Infinite.zip"—often referred to in technical circles as a type of or decompression bomb (such as the famous 42.zip )—is a maliciously crafted archive file designed to crash, freeze, or overwhelm the storage capacity of any system that attempts to unpack it. It relies on recursive compression —layers upon layers
Do not extract unknown or unexpectedly small zip files from untrusted sources. zip and recursive zip bombs ? 42.zip (2004) - Hacker News
A tiny compressed file (often only a few kilobytes or megabytes in size) that expands into a gargantuan amount of data (petabytes, exabytes, or "infinite" space) upon extraction. How it Works (The Mechanics) The file is
The ZIP algorithm can compress repetitive data (like a file filled entirely with zeros) extremely efficiently. A 10 GB file of zeros can be compressed into a few megabytes.