Original 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.
Known exploited (CISA KEV)
- Added to KEV
- 2021-11-03
- Remediation due (US federal)
- 2022-05-03
- Ransomware use
- Known
- Required action
- Apply updates per vendor instructions.
Affected software
- Exim < 4.90.1 Fixed in: 4.90.1 exact match
Details
- Published
- 2018-02-08
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-120
- EPSS (30-day exploit probability)
- 82.14% (percentile 100)
References
- cve.org/CVE-2018-6789
- nvd.nist.gov/vuln/detail/CVE-2018-6789
- openwall.com/lists/oss-security/2018/02/10/2
- packetstormsecurity.com/files/162959/Exim-base64d-Buffer-Overflow.html
- www.openwall.com/lists/oss-security/2018/02/07/2
- www.securityfocus.com/bid/103049
- www.securitytracker.com/id/1040461
- devco.re/blog/2018/03/06/exim-off-by-one-RCE-exploiting-CVE-2018-6789-en/
- exim.org/static/doc/security/CVE-2018-6789.txt
- git.exim.org/exim.git/commit/cf3cd306062a08969c41a1cdd32c6855f1abecf1
- lists.debian.org/debian-lts-announce/2018/02/msg00009.html
- usn.ubuntu.com/3565-1/
- www.debian.org/security/2018/dsa-4110
- www.exploit-db.com/exploits/44571/
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.