ClamAV < 0.94.1 get_unicode_name() Off-by-One Buffer Overflow

High Nessus Plugin ID 34729


The remote antivirus service is affected by a buffer overflow vulnerability.


According to its version, the clamd antivirus daemon on the remote host is earlier than 0.94.1. Such versions have an off-by-one heap overflow vulnerability in the code responsible for parsing VBA project files, specifically in the 'get_unicode_name()' function of 'libclamav/vba_extract.c', when a specific 'name' buffer is passed to it.

Using a specially crafted VBA project file embedded in an OLE2 Office document, a remote attacker can trigger this vulnerability and execute arbitrary code on the remote host with the privileges of the 'clamd' process.


Upgrade to ClamAV 0.94.1 or later.

See Also

Plugin Details

Severity: High

ID: 34729

File Name: clamav_0_94_1.nasl

Version: $Revision: 1.18 $

Type: remote

Published: 2008/11/10

Modified: 2016/10/07

Dependencies: 11153

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:clamav:clamav

Required KB Items: Settings/ParanoidReport

Exploit Available: false

Exploit Ease: No known exploits are available

Reference Information

CVE: CVE-2008-5050

BID: 32207

OSVDB: 49832

CWE: 119