Vulnerability Note VU#385908

Clam AntiVirus vulnerable to memory corruption via specially crafted UPX packed file

Original Release date: 16 Jan 2006 | Last revised: 16 Jan 2006


A vulnerability in the ClamAV antivirus toolkit may allow a remote attacker to execute arbitrary code on a vulnerable system.


Clam AntiVirus is an antivirus toolkit for Unix-like systems that is commonly integrated with mail servers for email attachment scanning. It supports a number of different file formats, including the Ultimate Packer for eXecutables (UPX).

A size calculation flaw exists in the way ClamAV handles the unpacking of executable files compressed with UPX. This flaw could result in corruption of heap memory, allowing an attacker to execute code supplied in a specially crafted UPX file.


A remote unauthenticated attacker may be able to execute arbitrary code on a vulnerable system. The attacker-supplied code would be executed with the privileges of the running ClamAV process.



The ClamAV project has released version 0.88 in response to this issue. Users who compile ClamAV from the original source code are encouraged to upgrade to this version.
Users who obtain ClamAV from their operating system vendor are encouraged to review the Systems Affected section of this document for more information.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
Gentoo LinuxAffected-16 Jan 2006
Trustix Secure LinuxAffected-16 Jan 2006
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A



Thanks to ClamAV for reporting this vulnerability.

This document was written by Chad R Dougherty.

Other Information

  • CVE IDs: CVE-2006-0162
  • Date Public: 09 Jan 2006
  • Date First Published: 16 Jan 2006
  • Date Last Updated: 16 Jan 2006
  • Severity Metric: 26.72
  • Document Revision: 9


If you have feedback, comments, or additional information about this vulnerability, please send us email.