Bug 1613180

Summary: ClamAV / Freshclam 0.100 always reports 'Corrupted CVD header' on 32-bit system
Product: [Fedora] Fedora EPEL Reporter: Danilo Godec <danci>
Component: clamavAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: el6CC: anon.amish, bennie.joubert, gbcox, janfrode, j, ondrejj, orion, redhat-bugzilla, rh-bugzilla, sergio, steve
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-07 08:17:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Danilo Godec 2018-08-07 08:12:25 UTC
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.

Comment 1 Sergio Basto 2018-08-07 08:17:11 UTC

*** This bug has been marked as a duplicate of bug 1600458 ***