CVE-2006-4018: Heap-based buffer overflow in the pefromupx function in libclamav/upx.c in Clam AntiVirus (ClamAV) 0.81 through 0.88.3 allows remote atta…

CVE-2006-4018 affects 19 listed versions of ClamAV in the Dawnsentry catalogue.

7.5CVSS high
None knownexploitation
19%EPSS (next 30 days)
8 August 2006published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

ClamAV

19 of 206 listed versions are affected. No fixed release is named. The newest release, 1.5.5, is not affected.

0.88.3 0.88.2 0.88.1 0.88 0.87.1 0.87 0.86.2 0.86.1 0.86 0.86_rc1 0.85.1 0.85 0.84 0.84_rc2 0.84_rc1 0.83 0.82 0.81 0.81_rc1

What it is

Heap-based buffer overflow in the pefromupx function in libclamav/upx.c in Clam AntiVirus (ClamAV) 0.81 through 0.88.3 allows remote attackers to execute arbitrary code via a crafted UPX packed file containing sections with large rsize values.

AV:N/AC:L/Au:N/C:P/I:P/A:P (NVD)

Published by MITRE on 8 August 2006. Last changed 16 June 2026.

Sources

Check one version you run: look CVE-2006-4018 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.