Gentoo Logo

ClamAV: Heap buffer overflow


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200608-13 / clamav
Release Date August 08, 2006
Latest Revision August 08, 2006: 02
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-antivirus/clamav < 0.88.4 >= 0.88.4 All supported architectures

Related bugreports: #143093


ClamAV is vulnerable to a heap-based buffer overflow resulting in a Denial of Service and potentially remote execution of arbitrary code.

2.  Impact Information


ClamAV is a GPL virus scanner.


Damian Put has discovered a boundary error in the pefromupx() function used by the UPX extraction module, which unpacks PE Windows executable files. Both the "clamscan" command-line utility and the "clamd" daemon are affected.


By sending a malicious attachment to a mail server running ClamAV, a remote attacker can cause a Denial of Service and potentially the execution of arbitrary code with the permissions of the user running ClamAV.

3.  Resolution Information


There is no known workaround at this time.


All ClamAV users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-antivirus/clamav-0.88.4"

4.  References


Page updated August 08, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.