What Is ‘Zip Bomb’ 46 MB File Into 4.5 Petabytes?

A new trend is growing in creating of ‘zip bomb’, and this thing can explode 45 MB into 4.5 Petabytes. Zip bomb actually is a small zip file contains multiple layers of nested archives.

Once unzipped, zip bombs can render the machine unresponsive and unavailable. Now, a researcher named David Fifield has developed the most dangerous zip bomb ever; it can cause a 46MB base file to expand into 4.5 petabytes of data.

A researcher named David Fifield has developed the most dangerous Zip Bomb which is the base file is 46 MB and it can expand into 4.5 Petabytes. The researcher has managed to cram 30 billion photos from Facebook and compress into 46 MB zip file.

How He Create Zip Bomb?

He figured out how to “overlap” files inside a Zip archive. It allowed him to achieve compression rates that are far greater than a traditional archive.

He used the Zip64 extension to remove the normal zip compression and remove the 281 TB output limit. The Zip64 extension is not used everywhere like the base zip format. So Fifield’s Zip Bomb may not affect some programs.

The researcher post on a blog post, how is the compression work.

Interesting Part of The Zip Compression

He said, “It works by overlapping files inside the zip container, in order to reference a ‘kernel’ of highly compressed data in multiple files, without making multiple copies of it. The zip bomb’s output size grows quadratically in the input size; i.e., the compression ratio gets better as the bomb gets bigger,”


Facebook Comments