Invalid zip file with overlapped components (possible zip bomb) error

Sunlander

Well-Known Member
May 7, 2018
66
4
8
UK
cPanel Access Level
Root Administrator
Hi,

I have a file regularly transferred via FTP which contains an xml file and some images. I get these files from many sources and all but this one works fine. This particular file never gets processed because it always produces the following error:

missing 10 bytes in zipfile
(attempting to process anyway)
error: invalid zip file with overlapped components (possible zip bomb)

This file gets sent to other servers too where it works fine. I am just wondering if there is some setting or extension that needs to be installed to support this on my server so it can process the file?

I have a dedicated server with cpanel, Easyapache etc. on CENTOS 7.9 [ns3148357] v92.0.10

I did read somewhere about the different file transfer protocols (binary, ascii and one other) can cpanel not process files regardless of which of those formats it is sent in?

Does anyone have any idea what might be causing the issues with my incoming zip file and how to fix it?

Kind regards
 
Last edited by a moderator:

andrewmoras

Active Member
Feb 6, 2021
34
21
8
Remote
cPanel Access Level
DataCenter Provider
Hi,

I have a file regularly transferred via FTP which contains an xml file and some images. I get these files from many sources and all but this one works fine. This particular file never gets processed because it always produces the following error:

missing 10 bytes in zipfile
(attempting to process anyway)
error: invalid zip file with overlapped components (possible zip bomb)

This file gets sent to other servers too where it works fine. I am just wondering if there is some setting or extension that needs to be installed to support this on my server so it can process the file?

I have a dedicated server with cpanel, Easyapache etc. on CENTOS 7.9 [ns3148357] v92.0.10

I did read somewhere about the different file transfer protocols (binary, ascii and one other) can cpanel not process files regardless of which of those formats it is sent in?

Does anyone have any idea what might be causing the issues with my incoming zip file and how to fix it?

Kind regards
I think the problem might be caused by using text/ascii transfer instead of binary and the differences between the two types of transfers. Switching to binary mode should get you a valid .zip that cPanel can process/extract without issues.

Thanks,

A
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,328
2,242
363
cPanel Access Level
Root Administrator
I would also try the above recommendation. There isn't anything additional that needs to be installed on the server to handle zip files as those are a standard, so the most likely explanation is that something in the upload process is causing an issue.