Gentoo Logo

ClamAV RAR Archive Remote Denial Of Service Vulnerability


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200404-07 / clamav
Release Date April 07, 2004
Latest Revision May 22, 2006: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-antivirus/clamav <= 0.68 >= 0.68.1 All supported architectures

Related bugreports: #45357


ClamAV is vulnerable to a denial of service attack when processing certain RAR archives.

2.  Impact Information


From :

"Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The main purpose of this software is the integration with mail servers (attachment scanning). The package provides a flexible and scalable multi-threaded daemon, a command line scanner, and a tool for automatic updating via Internet. The programs are based on a shared library distributed with the Clam AntiVirus package, which you can use with your own software. Most importantly, the virus database is kept up to date."


Certain types of RAR archives, including those created by variants of the W32.Beagle.A@mm worm, may cause clamav to crash when it attempts to process them.


This vulnerability causes a Denial of Service in the clamav process. Depending on configuration, this may cause dependent services such as mail to fail as well.

3.  Resolution Information


A workaround is not currently known for this issue. All users are advised to upgrade to the latest version of the affected package.


ClamAV users should upgrade to version 0.68.1 or later:

Code Listing 3.1: Resolution

# emerge sync

# emerge -pv ">=app-antivirus/clamav-0.68.1"
# emerge ">=app-antivirus/clamav-0.68.1"

4.  References


Page updated April 07, 2004

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.