ClamAV: Remote execution of arbitrary code
Gentoo Linux Security Advisory
||GLSA 200601-07 / clamav
||January 13, 2006
||January 13, 2006: 01
All supported architectures
ClamAV is vulnerable to a buffer overflow which may lead to remote
execution of arbitrary code.
ClamAV is a GPL virus scanner.
Zero Day Initiative (ZDI) reported a heap buffer overflow
vulnerability. The vulnerability is due to an incorrect boundary check
of the user-supplied data prior to copying it to an insufficiently
sized memory buffer. The flaw occurs when the application attempts to
handle compressed UPX files.
For example by sending a maliciously crafted UPX file into a mail
server that is integrated with ClamAV, a remote attacker's supplied
code could be executed with escalated privileges.
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"