CVE-2005-0021 Memory corruption in n/a

High 7.2 Published Updated

Buffer overflows in Exim allow remote attackers to execute arbitrary code via crafted IPv6 addresses or DNS lookups.

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

What is CVE-2005-0021?

CVE-2005-0021 is a high-severity memory corruption vulnerability in n/a, published on 6 Jan 2005. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Multiple buffer overflows in Exim before 4.43 may allow attackers to execute arbitrary code via (1) an IPv6 address with more than 8 components, as demonstrated using the -be command line option, which triggers an overflow in the host_aton function, or (2) the -bh command line option or dnsdb PTR lookup, which triggers an overflow in the dns_build_reverse function.

Which versions are affected by CVE-2005-0021?

It affects 1 product.

Products include University of Cambridge Exim.

How do I fix CVE-2005-0021?

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-2005-0021 being exploited?

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

Public exploit code: 2 Exploit-DB entries.

Sources

Also known as DEBIAN-CVE-2005-0021, DSA-635-1, DSA-637-1, GHSA-4wq7-f94f-64w2.

Is CVE-2005-0021 in your software?

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

Check your SBOMs for free