CVE-2005-0021: Multiple buffer overflows in Exim before 4.43 may allow attackers to execute arbitrary code via (1) an IPv6 ad
CVE-2005-0021 is a high-severity flaw (CVSS 7.2) affecting exim. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.2 (High) |
| EPSS exploit chance | 2.6% (top 15%) |
| CISA exploited list | No |
| Published | 2005-05-02 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: Exim 4.41 - 'dns_build_reverse' Local Buffer Overflow
- Exploit-DB: Exim 4.41 - 'dns_build_reverse' Local Read Emails
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2005-0021?
exim: upgrade to newer than 4.40. Exact commands for each OS are on this page.
Is CVE-2005-0021 being exploited?
CVE-2005-0021 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2005-0021 affect?
CVE-2005-0021 affects exim. Severity is high (CVSS 7.2). 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
How urgent is CVE-2005-0021?
Priority 52/100. High severity; Public exploit reference
Software pages
Related CVEs
- CVE-2025-67896 HIGH 7.0 UPGRADE Exim before 4.99.1, with certain non-default rate-limit configurations, allows a remote heap-based buffer over
- CVE-2026-94054 HIGH 7.0 UPGRADE Exim before 4.100.1, when Proxy-Protocol is used with an attacker-controlled proxy, has an out-of-bounds write
- CVE-2026-94055 LOW 3.7 UPGRADE Exim before 4.100.1, when certain non-default TLS settings are used with GnuTLS, has a use-after-free.
- CVE-2026-94056 HIGH 7.5 UPGRADE Exim before 4.100.1, when Proxy-Protocol is used with an attacker-controlled proxy, allows attackers to read c
- CVE-2026-94057 MEDIUM 4.0 UPGRADE Exim before 4.100.1 allows SMTP smuggling in which the received message does not match any sent message, and i