CVE-2018-6789Exim
Buffer Overflow in Exim base64d Function
Critical 9.8 KEVRansomware No auth neededHigh EPSS
Follow: this CVE · Exim · Exim We alert you by email or Slack (account required).
- Priority
- 97
- CVSS 3.1
- 9.8
- EPSS
- 82.1% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Nov 3, 2021
- CISA deadline
- May 3, 2022
- Ransomware use
- Confirmed
- Published
- Feb 8, 2018
- Updated
- Jun 17, 2026
- Category
- Server · Linux
- Weakness (CWE)
- CWE-120
- SSVC (CISA)
- Exploitation: active · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Exim before version 4.90.1 contains a buffer overflow in the base64d function of the SMTP listener that allows remote code execution without authentication. An attacker can send a specially crafted message to trigger the vulnerability. CISA confirmed this vulnerability is being actively exploited.
Show the original NVD text
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.
Exploitation confirmed by CISA
Exim contains a buffer overflow vulnerability in the base64d function part of the SMTP listener that may allow for remote code execution.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 4.90.1
Update Exim to version 4.90.1 or later. Refer to the vendor security advisory for specific instructions.
- Apply the vendor's security update for Exim.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was May 3, 2022.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| exim | exim | < 4.90.1 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 17.10 |
Official sources
References
Links published by the sources. Open them with care.
- openwall.com Mailing List Third Party Advisory
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- www.openwall.com Mailing List Third Party Advisory
- www.securityfocus.com Broken Link Third Party Advisory VDB Entry
- www.securitytracker.com Broken Link Third Party Advisory VDB Entry
- devco.re Exploit Third Party Advisory
- exim.org Vendor Advisory
- git.exim.org Patch
- lists.debian.org Mailing List Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Mailing List Third Party Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.cisa.gov US Government Resource