Description of problem:
After updating CentOS 6 32-bit to the latest packages ClamAV updated from 0.99 to 0.100.1 - after that pretty much all ClamAV utilities report 'Corrupted CVD header - ERROR: Verification: Malformed database'.
We checked MD5 and the downloaded file is not corrupted and works OK on 64-bit version.
Version-Release number of selected component (if applicable):
0.100.1
How reproducible:
Steps to Reproduce:
1. Run 'freshclam' on 32-bit CentOS 6 with clamav-0.100.1
Actual results:
# freshclam
ClamAV update process started at Tue Aug 7 10:01:55 2018
Downloading main.cvd [100%]
WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header
ERROR: Verification: Malformed database
Trying again in 5 secs...
Expected results:
No errors...
Additional info:
According to ClamAV developers, the problem is in the zlib library included in CentOS 6 (excerpt from https://github.com/Cisco-Talos/clamav-devel/blob/dev/0.100/NEWS.md#known-issues):
Bug: On CentOS 6 32bit we observed that specific versions of zlib fail to correctly decompress the CVD signature databases. If you are on an older system such as CentoOS 6 32bit and observe failures loading the signature database, please consider upgrading to a newer version of zlib.