← Vulnerability feed

Vulnerability record · CVE-2006-4018 · published 8 August 2006

CVE-2006-4018: Clamav memory buffer overflow vulnerability

Clamav · Clamav

Heap-based buffer overflow in the pefromupx function in libclamav/upx.c in Clam AntiVirus (ClamAV) 0.81 through 0.88.3 allows remote attackers to execute arbitrary code via a crafted UPX packed file containing sections with large rsize values.

7.5 CVSS 2.0 High EPSS 19% · top 2.7% CWE-119 · Memory buffer overflow
7.5CVSS 2.0 base score
19%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
42References, 4 tagged exploit
16 Jun 2026Last modified by NVD

Description

Heap-based buffer overflow in the pefromupx function in libclamav/upx.c in Clam AntiVirus (ClamAV) 0.81 through 0.88.3 allows remote attackers to execute arbitrary code via a crafted UPX packed file containing sections with large rsize values.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://kolab.org/security/kolab-vendor-notice-10.txt
http://secunia.com/advisories/21368 Vendor Advisory
http://secunia.com/advisories/21374 Vendor Advisory
http://secunia.com/advisories/21433 Vendor Advisory
http://secunia.com/advisories/21443 Vendor Advisory
http://secunia.com/advisories/21457 Vendor Advisory
http://secunia.com/advisories/21497 Vendor Advisory
http://secunia.com/advisories/21562 Vendor Advisory
http://security.gentoo.org/glsa/glsa-200608-13.xml
http://securitytracker.com/id?1016645
http://www.clamav.net/security/0.88.4.html ExploitPatchVendor Advisory
http://www.debian.org/security/2006/dsa-1153
http://www.mandriva.com/security/advisories?name=MDKSA-2006:138
http://www.novell.com/linux/security/advisories/2006_46_clamav.html
http://www.overflow.pl/adv/clamav_upx_heap.txt ExploitPatchVendor Advisory
http://www.securityfocus.com/archive/1/442681/100/0/threaded
http://www.securityfocus.com/bid/19381
http://www.trustix.org/errata/2006/0046/
http://www.vupen.com/english/advisories/2006/3175 Vendor Advisory
http://www.vupen.com/english/advisories/2006/3275 Vendor Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/28286
http://kolab.org/security/kolab-vendor-notice-10.txt
http://secunia.com/advisories/21368 Vendor Advisory
http://secunia.com/advisories/21374 Vendor Advisory
http://secunia.com/advisories/21433 Vendor Advisory
http://secunia.com/advisories/21443 Vendor Advisory
http://secunia.com/advisories/21457 Vendor Advisory
http://secunia.com/advisories/21497 Vendor Advisory
http://secunia.com/advisories/21562 Vendor Advisory
http://security.gentoo.org/glsa/glsa-200608-13.xml
http://securitytracker.com/id?1016645
http://www.clamav.net/security/0.88.4.html ExploitPatchVendor Advisory
http://www.debian.org/security/2006/dsa-1153
http://www.mandriva.com/security/advisories?name=MDKSA-2006:138
http://www.novell.com/linux/security/advisories/2006_46_clamav.html
http://www.overflow.pl/adv/clamav_upx_heap.txt ExploitPatchVendor Advisory
http://www.securityfocus.com/archive/1/442681/100/0/threaded
http://www.securityfocus.com/bid/19381
http://www.trustix.org/errata/2006/0046/
http://www.vupen.com/english/advisories/2006/3175 Vendor Advisory

Track CVE-2006-4018 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2010-0098Clamav vulnerabilityClamAV before 0.96 does not properly handle the (1) CAB and (2) 7z file formats, which allows remote attackers to bypass virus detection via a crafte…EPSS 4.9%10.0CVE-2009-1372Clamav memory buffer overflow vulnerabilityStack-based buffer overflow in the cli_url_canon function in libclamav/phishcheck.c in ClamAV before 0.95.1 allows remote attackers to cause a denial…EPSS 7.6%10.0CVE-2008-3914Clamav information exposure vulnerabilityMultiple unspecified vulnerabilities in ClamAV before 0.94 have unknown impact and attack vectors related to file descriptor leaks on the "error path…EPSS 3.6%10.0CVE-2008-0728Clamav vulnerabilityThe unmew11 function in libclamav/mew.c in libclamav in ClamAV before 0.92.1 has unknown impact and attack vectors that trigger "heap corruption."EPSS 2.8%10.0CVE-2006-1615Clamav vulnerabilityMultiple format string vulnerabilities in the logging code in Clam AntiVirus (ClamAV) before 0.88.1 might allow remote attackers to execute arbitrary…EPSS 12%9.8CVE-2025-20260Clamav heap-based buffer overflow vulnerabilityA vulnerability in the PDF scanning processes of ClamAV could allow an unauthenticated, remote attacker to cause a buffer overflow condition, cause a…EPSS 1.6%9.8CVE-2023-20032Cisco secure endpoint classic buffer overflow vulnerabilityOn Feb 15, 2023, the following vulnerability in the ClamAV scanning library was disclosed: A vulnerability in the HFS+ partition file parser of ClamA…EPSS 29%9.8CVE-2013-7087Clamav memory buffer overflow vulnerabilityClamAV before 0.97.7 has WWPack corrupt heap memoryEPSS 2.9%

Source: NIST National Vulnerability Database (record CVE-2006-4018), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.