CVE-2018-6789
Exim Buffer Overflow Vulnerability
- Actively exploited
- Used by ransomware
- Critical · 9.8 of 10
- Exploited since
- 3 Nov 2021 added to the CISA list
- Chance of attacks
- 82% in the next 30 days (FIRST EPSS)
- Fix deadline
- 3 May 2022 for US federal agencies
- Published
- 9 Feb 2018 in the NVD
What this means
Exim contains a buffer overflow vulnerability in the base64d function part of the SMTP listener that may allow for remote code execution.
CISA
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.
NIST National Vulnerability Database
What to do
Apply updates per vendor instructions.
CISA's required action. If you use the product, install the vendor's update as soon as possible.
Affected
- n/a n/a
Official sources
- nvd.nist.gov/vuln/detail/CVE-2018-6789
- exim.org/static/doc/security/CVE-2018-6789.txt vendor advisory
- openwall.com/lists/oss-security/2018/02/10/2
- packetstormsecurity.com/files/162959/Exim-base64d-Buffer-Overflow.html
- openwall.com/lists/oss-security/2018/02/07/2
- securityfocus.com/bid/103049
- securitytracker.com/id/1040461
- devco.re/blog/2018/03/06/exim-off-by-one-RCE-exploiting-CVE-2018-6789-en/
- git.exim.org/exim.git/commit/cf3cd306062a08969c41a1cdd32c6855f1abecf1
Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.