CVE-2006-4018 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code by sending a crafted UPX packed file to systems using the vulnerable ClamAV library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2006-4018?

CVE-2006-4018 is a high-severity memory corruption vulnerability in Clamav Clamav, published on 8 Aug 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-119

Which versions are affected by CVE-2006-4018?

It affects 1 product.

Products include Clamav Clamav.

How do I fix CVE-2006-4018?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2006-4018 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-4018 exists.

Public exploit code: 1 Exploit-DB entry.

All Clamav Clamav vulnerabilities

Sources

Also known as DEBIAN-CVE-2006-4018, DSA-1153, GHSA-4jgv-gpc4-9rmg.

Is CVE-2006-4018 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free