Public Vulnerability Reports

Clam AntiVirus ClamAV rebuildpe Heap Overflow Vulnerability



Clam AntiVirus is a multi-platform GPL anti-virus toolkit. The main
purpose of which is integration into electronic mail servers. More
information is available from


Remote exploitation of a buffer overflow in Clam AntiVirus allows
attackers to potentially execute arbitrary code or cause a denial of
service condition.

This vulnerability specifically exists within code dealing PE (Portable
Executable) format files. While processing certain PE elements, two
variables can be very large and integer overflow could occur. This would
result in less memory being allocated than was expected by the
programmer and subsequent code would overflow the heap buffer.


Successful exploitation requires an attacker to send a specially
constructed executable file through a mail gateway or personal anti-
virus client utilizing the ClamAV scanning engine.


iDefense has confirmed this vulnerability on version 0.88.1 and 0.88.4
of ClamAV. All previous versions are suspected to be vulnerable to this


iDefense is not aware of any effective workarounds.


The ClamAV team has addressed this vulnerability within version 0.88.5.


The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2006-4182 to this issue. This is a candidate for inclusion in
the CVE list (, which standardizes names for
security problems.


08/16/2006 Initial vendor notification
08/20/2006 Initial vendor response
10/10/2006 Second vendor notification
10/15/2006 Coordinated public disclosure


The discovery of this vulnerability is credited to Damian Put
. This vulnerability was additionally reported by an
anonymous researcher.

Get paid for vulnerability research

Free tools, research and upcoming events


Copyright © 2006 Verisign, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDefense. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.