Gentoo Logo

Clam AntiVirus: Integer overflows


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200507-25 / clamav
Release Date July 26, 2005
Latest Revision August 11, 2005: 02
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-antivirus/clamav < 0.86.2 >= 0.86.2 All supported architectures

Related bugreports: #100178


Clam AntiVirus is vulnerable to integer overflows when handling several file formats, potentially resulting in the execution of arbitrary code.

2.  Impact Information


Clam AntiVirus is a GPL anti-virus toolkit, designed for integration with mail servers to perform attachment scanning. Clam AntiVirus also provides a command line scanner and a tool for fetching updates of the virus database.


Neel Mehta and Alex Wheeler discovered that Clam AntiVirus is vulnerable to integer overflows when handling the TNEF, CHM and FSG file formats.


By sending a specially-crafted file an attacker could execute arbitrary code with the permissions of the user running Clam AntiVirus.

3.  Resolution Information


There is no known workaround at this time.


All Clam AntiVirus users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References


Page updated July 26, 2005

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.