CVE-2018-6789: An issue was discovered in the base64d function in the SMTP listener in Exim before 4.90.1.
CVE-2018-6789 affects 106 listed versions of Exim in the Dawnsentry catalogue. It is known to be exploited in the wild.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Exim
106 of 141 listed versions are affected. Fixed in 4.90.1. The newest release, 4.100.3, is not affected.
4.90.0.27 4.90.0.22 4.90 4.89.1 4.89 4.89-rc7 4.89-rc6 4.89-rc5 4.89-rc4 4.89-rc3 4.89-rc2 4.89-rc1 4.88 4.88-rc6 4.88-rc5 4.88-rc4 4.88-rc3 4.88-rc2 4.88-rc1 4.87.1 4.87 4.86.2 4.86.1 4.86 4.85.2 4.85.1 4.85 4.84.2 4.84.1 4.83 4.82.1 4.82 4.80.1 4.80 4.77 4.76 4.75 4.74 4.73 4.72 4.71 4.70 4.69 4.68 4.67 4.66 4.65 4.64 4.63 4.62 4.61 4.60 4.54 4.53 4.52 4.51 4.50 4.44 4.43 4.42 and 46 more
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by MITRE on 8 February 2018. Last changed 17 June 2026. CISA lists it as used in ransomware campaigns.
Sources
Check one version you run: look CVE-2018-6789 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.