Buffer overflowin Exim.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 3 Nov 2021. Ransomware groups use it too.
An issue was discovered in the base64d function in the SMTP listener in Exim before 4.90.1. By sending a handcrafted message, a buffer overflow may happen. This can be used to execute code remotely.
CISA: Exim contains a buffer overflow vulnerability in the base64d function part of the SMTP listener that may allow for remote code execution.
- CISA requires US federal agencies to fix it by 3 May 2022.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 6 Feb 2018CVE ID reserved by mitre.
- 8 Feb 2018Published in the CVE List.
- 16 Mar 2018First public proof of concept on GitHub.
- 3 Nov 2021Added to CISA's Known Exploited Vulnerabilities list.
- 3 Nov 2021CISA lists known use in ransomware campaigns.
- 21 Oct 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
5 proof of concept repositories on GitHub. No fix or workaround is known yet, so we count them but do not link to them.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Exim vulnerabilities
Same weakness: Classic buffer overflow
- exim.org x_refsource_CONFIRM
- www.openwall.com mailing-list, x_refsource_MLIST
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- openwall.com x_refsource_CONFIRM
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- lists.debian.org mailing-list, x_refsource_MLIST
- git.exim.org x_refsource_CONFIRM
- devco.re x_refsource_MISC
- www.securityfocus.com vdb-entry, x_refsource_BID
- packetstormsecurity.com x_refsource_MISC
- www.cisa.gov government-resource
Patchminder. CVE-2018-6789: Buffer overflow in Exim. https://patchminder.com/cve/cve-2018-6789/ (accessed 5 December 2026).