CVE-2011-2721: Medium severity clamav vulnerability

Published Jul 26, 2011
·
Updated

An off-by-one error was found in the way the hash manager of Clam AntiVirus, a GPL anti-virus toolkit for UNIX, performed scan of messages with certain hashes. A remote attacker could provide a message with specially-crafted hash signature in it, leading to denial of service (clamscan executable crash).

Upstream bug report: [1] https://wwws.clamav.net/bugzilla/showbug.cgi?id=2818

Relevant patch: [2] http://git.clamav.net/gitweb?p=clamav-devel.git;a=commit;h=4842733eb3f09be61caeed83778bb6679141dbc5

Other references: [3] https://bugzilla.novell.com/showbug.cgi?id=708263 [4] http://git.clamav.net/gitweb?p=clamav-devel.git;a=blobplain;f=ChangeLog;hb=clamav-0.97.2 [5] http://www.clamav.net/lang/en/

Other sources

Off-by-one error in the clihmscan function in matcher-hash.c in libclamav in ClamAV before 0.97.2 allows remote attackers to cause a denial of service (daemon crash) via an e-mail message that is not properly handled during certain hash calculations.

MITRE

Affected Software

117 affected components
clamav clamav=0.95.2
clamav clamav=0.86.2
clamav clamav=0.88.5
clamav clamav=0.02
clamav clamav=0.92
clamav clamav=0.95-rc2
clamav clamav=0.8-rc3
clamav clamav=0.15
clamav clamav=0.90-rc2
clamav clamav=0.75.1
clamav clamav=0.65
clamav clamav=0.88.7
clamav clamav=0.81
clamav clamav=0.86
clamav clamav=0.01
clamav clamav=0.92_p0
clamav clamav=0.97-rc
clamav clamav=0.85
clamav clamav=0.84
clamav clamav=0.3
clamav clamav=0.91.2_p0
clamav clamav=0.93.1
clamav clamav=0.90-rc1.1
clamav clamav=0.95.1
clamav clamav=0.93
clamav clamav=0.90
clamav clamav=0.70-rc
clamav clamav=0.86-rc1
clamav clamav=0.68.1
clamav clamav=0.96.4
clamav clamav=0.03
clamav clamav=0.87.1
clamav clamav=0.9-rc1
clamav clamav=0.74
clamav clamav=0.93.3
clamav clamav=0.88
clamav clamav=0.91-rc1
clamav clamav=0.86.1
clamav clamav=0.71
clamav clamav=0.88.1
clamav clamav=0.60p
clamav clamav=0.94
clamav clamav=0.80-rc
clamav clamav=0.91.2
clamav clamav=0.96.3
clamav clamav=0.90.3
clamav clamav=0.85.1
clamav clamav=0.90-rc1
clamav clamav=0.96.2
clamav clamav=0.95-src2
clamav clamav=0.13
clamav clamav=0.81-rc1
clamav clamav=0.10
clamav clamav=0.94.2
clamav clamav=0.96.1
clamav clamav=0.95-src1
clamav clamav=0.80-rc3
clamav clamav=0.90.1_p0
clamav clamav=0.12
clamav clamav=0.88.7_p0
clamav clamav=0.23
clamav clamav=0.84-rc1
clamav clamav=0.90.3_p1
clamav clamav=0.80-rc2
clamav clamav=0.80-rc1
clamav clamav=0.95
clamav clamav=0.60
clamav clamav=0.88.2
clamav clamav=0.83
clamav clamav=0.20
clamav clamav=0.80-rc4
clamav clamav=0.90-rc3
clamav clamav=0.70
clamav clamav=0.88.4
clamav clamav=0.90.3_p0
clamav clamav=0.14
clamav clamav=0.24
clamav clamav=0.96-rc2
clamav clamav=0.90.2_p0
clamav clamav=0.66
clamav clamav=0.96.5
clamav clamav=0.51
clamav clamav=0.52
clamav clamav=0.22
clamav clamav=0.72
clamav clamav=0.95-rc1
clamav clamav=0.91-rc2
clamav clamav=0.75
clamav clamav=0.05
clamav clamav=0.96
clamav clamav=0.91
clamav clamav=0.54
clamav clamav=0.96-rc1
clamav clamav=0.80
clamav clamav=0.87
clamav clamav=0.21
clamav clamav<=0.97.1
clamav clamav=0.84-rc2
clamav clamav=0.88.7_p1
clamav clamav=0.67-1
clamav clamav=0.14-pre
clamav clamav=0.90.1
clamav clamav=0.91.1
clamav clamav=0.95.3
clamav clamav=0.88.3
clamav clamav=0.97
clamav clamav=0.67
clamav clamav=0.92.1
clamav clamav=0.90.2
clamav clamav=0.68
clamav clamav=0.53
clamav clamav=0.93.2
clamav clamav=0.88.6
clamav clamav=0.94.1
clamav clamav=0.80_rc
clamav clamav=0.82
clamav clamav=0.73

Event History

Jul 26, 2011
Data Sourced
via Red Hat·10:29 AM
DescriptionSeverityAffected Software
Aug 5, 2011
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2011-2721?

CVE-2011-2721 is classified as a denial-of-service vulnerability with medium severity.

2

How can I fix CVE-2011-2721?

To fix CVE-2011-2721, upgrade Clam AntiVirus to a version later than 0.97.1 that addresses this vulnerability.

3

What versions of ClamAV are affected by CVE-2011-2721?

CVE-2011-2721 affects multiple versions of Clam AntiVirus including 0.95.2, 0.86.2, and other versions up to 0.97.1.

4

What kind of attacks can be carried out using CVE-2011-2721?

An attacker can use CVE-2011-2721 to exploit an off-by-one error to create specially-crafted hash signatures that cause a denial of service.

5

Is there a workaround for CVE-2011-2721?

While upgrading is the best solution, temporarily restricting access to the affected ClamAV services can serve as a workaround.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203