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

High Nessus Network Monitor Plugin ID 4744


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 version 0.94.1 or later.

See Also (look for bb#1239)

Plugin Details

Severity: High

ID: 4744

Family: Web Clients

Published: 2008/11/10

Updated: 2019/03/06

Dependencies: 1735, 8314

Nessus ID: 34729

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

Temporal Score: 5.5

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

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

CVSS v3.0

Base Score: 7.3

Temporal Score: 6.4

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Reference Information

CVE: CVE-2008-5050

BID: 32207