Home Vulnerabilities CVE-2018-6789 Vulnerability record
CVE-2018-6789 Exim Buffer Overflow Vulnerability
Severity: CriticalExploitation: Exploitation confirmed CISA KEV Used by ransomwareWhat should I do?
This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run Exim , fix it now.
CISA required action: Apply updates per vendor instructions.
US federal civilian agencies must remediate by May 3, 2022.
Patch status Official fix available since Sep 30, 2026
Apply the vendor's update to every affected system. Check the fixed-in versions below where known.
Basis: NVD patch reference
Description 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.
Source: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.
Affected products Products affected by this vulnerability, with versions and the source of each entry Product Vendor Affected versions Fixed in Source Exim Exim < 4.90.1 4.90.1 KEV
Sources: KEV = CISA Known Exploited Vulnerabilities catalog.
Intelligence timelineDevelopments from the last 30 days, newest first.
No developments recorded for CVE-2018-6789 in the last 30 days.
3 earlier events are available with a subscription. See plans .
CoverageWe have not published a story about this vulnerability yet.
References nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-6789 openwall.com http://openwall.com/lists/oss-security/2018/02/10/2 packetstormsecurity.com http://packetstormsecurity.com/files/162959/Exim-base64d-Buffer-Overflow.html openwall.com http://www.openwall.com/lists/oss-security/2018/02/07/2 securityfocus.com http://www.securityfocus.com/bid/103049 securitytracker.com http://www.securitytracker.com/id/1040461 devco.re https://devco.re/blog/2018/03/06/exim-off-by-one-RCE-exploiting-CVE-2018-6789-en/ exim.org https://exim.org/static/doc/security/CVE-2018-6789.txt git.exim.org https://git.exim.org/exim.git/commit/cf3cd306062a08969c41a1cdd32c6855f1abecf1 lists.debian.org https://lists.debian.org/debian-lts-announce/2018/02/msg00009.html usn.ubuntu.com https://usn.ubuntu.com/3565-1/ debian.org https://www.debian.org/security/2018/dsa-4110 exploit-db.com https://www.exploit-db.com/exploits/44571/ exploit-db.com https://www.exploit-db.com/exploits/45671/ cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-6789 Key facts CVSS 9.8 (v3.1)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor Exim Product Exim Exploitation Exploitation confirmed CISA KEV Yes, added Nov 3, 2021 Ransomware Known use Weakness CWE-119, CWE-120 Published Feb 8, 2018 First seen here Sep 29, 2026 Last updated yesterday