Extracting Compressed files with any compression algorithm like gzip can cause to denial of service attacks.
+Attackers can compress a huge file which created by repeated similiar byte and convert it to a small compressed file.
+ +When you want to decompress a user-provided compressed file you must be careful about the decompression ratio or read these files within a loop byte by byte to be able to manage the decompressed size in each cycle of the loop.
+ +A good Blog Post about decompression bombs and recommended method is already written by Gérald Barré in this blog post
+ +