patchminder
Exploited in the wild · CISA KEV Used by ransomware CVE-2018-6789

Buffer overflowin Exim.

Published 8 Feb 2018 · Updated 21 Oct 2025 · Every fact sourced

JSONCite
Is it exploited?
Yes

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.

On CISA's listKnown ransomware useAttack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 82.1% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
See the vendor advisory
In plain words

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.

What to do now
  • 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.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 6 Feb 2018
    CVE ID reserved by mitre.
  2. 8 Feb 2018
    Published in the CVE List.
  3. 16 Mar 2018
    First public proof of concept on GitHub.
  4. 3 Nov 2021
    Added to CISA's Known Exploited Vulnerabilities list.
  5. 3 Nov 2021
    CISA lists known use in ransomware campaigns.
  6. 21 Oct 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
2 entries
GitHub proof of concepts
5 repositories
Exploit-DBEDB-ID 45671remote exploit for linux, published 24 Oct 2018Linked once a fix or workaround is known.
Exploit-DBEDB-ID 44571remote exploit for linux, published 2 May 2018Linked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.

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.

Related

Other Exim vulnerabilities

Same weakness: Classic buffer overflow

All CWE-120 vulnerabilities

References
Cite this page

Patchminder. CVE-2018-6789: Buffer overflow in Exim. https://patchminder.com/cve/cve-2018-6789/ (accessed 5 December 2026).