Actively exploited vulnerability / CVE-2018-6789
Exim: an attacker can take over the email server remotely
This flaw in Exim lets an attacker run their own code on the email server without needing an account or password. That could let them read company email, use the server to send spam, or move further into your network. It is on the lists of vulnerabilities used in real attacks kept by CISA (the US cybersecurity agency) and by ENISA (the EU cybersecurity agency).
- Identifier
- CVE-2018-6789 · EUVD-2018-18536
- Severity
- Critical (9.8/10)
- On the CISA list (US)
- yes, since 3 November 2021
- Deadline given to US federal agencies
- 3 May 2022
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 82.1% (FIRST's estimate for the next 30 days)
Does it concern you?
Exim is software that sends and receives email, widely used on Linux servers and preinstalled by many web hosting providers. If your company runs its own mail server or a hosted server with cPanel, you may be using it.
All Exim versions older than 4.90.1 are affected. Ask your server administrator or hosting provider which Exim version is running.
Affected products and versions
- Exim
- exim: before 4.90.1
What to do
Update Exim to version 4.90.1 or later. If a hosting provider manages your server, ask them to confirm the update has been applied.
Versions that contain the fix: 4.90.1.
The official description
The text below is the description from the public database.
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.
Sources
- Debian Security Tracker
- Red Hat Security Data
- CVE Program
- Vendor advisory: nvd.nist.gov
- GitHub Advisory Database
- NVD
- ENISA EUVD
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.