Skip to content
OpenAdvisories
Critical · 9.8 Known exploited · Ransomware Public exploit CVE-2018-6789 EUVD-2018-18536GHSA-868p-wr6f-7jfr

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 over…

Published Feb 8, 2018 · Updated Oct 21, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 exim4 4.90.1-1 —
Debian 13 exim4 4.90.1-1 —
Debian 12 exim4 4.90.1-1 —
Debian 9 exim4 4.89-2+deb9u3 DSA-4110-1
Debian 8 exim4 4.84.2-2+deb8u5 DSA-4110-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 7 exim4 4.80-7+deb7u6 DLA-1274-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS exim4 4.86.2-2ubuntu2.3 USN-3565-1
Ubuntu 14.04 LTS exim4 4.82-3ubuntu2.4 USN-3565-1
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP2 exim 4.94.2-bp152.6.4.1 openSUSE-SU-2021:0754-1
SUSE Package Hub 15 SP2 libspf2 1.2.10-bp152.5.1 openSUSE-SU-2021:0754-1
SUSE Package Hub 15 SP1 exim 4.94.2-bp151.2.4.1 openSUSE-SU-2021:0753-1
SUSE Package Hub 15 SP1 libspf2 1.2.10-bp151.4.1 openSUSE-SU-2021:0753-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed exim 4.94.2-4.2 openSUSE-SU-2024:10746-1
openSUSE Leap 15.2 exim 4.94.2-lp152.8.3.1 openSUSE-SU-2021:0677-1
ReleasePackageFixed inAdvisory
Alpine v3.24 exim 4.90.1-r0 —
Alpine v3.23 exim 4.90.1-r0 —
Alpine v3.22 exim 4.90.1-r0 —
Alpine v3.21 exim 4.90.1-r0 —
Alpine v3.20 exim 4.90.1-r0 —
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 exim 4.90.1-r0 —
Alpine v3.18 exim 4.90.1-r0 —
Alpine v3.17 exim 4.90.1-r0 —
Alpine v3.16 exim 4.90.1-r0 —
Alpine v3.15 exim 4.90.1-r0 —
Alpine v3.14 exim 4.90.1-r0 —
Alpine v3.13 exim 4.90.1-r0 —
Alpine v3.12 exim 4.90.1-r0 —
Alpine v3.11 exim 4.90.1-r0 —
Alpine v3.10 exim 4.90.1-r0 —
Alpine v3.9 exim 4.90.1-r0 —
Alpine v3.8 exim 4.90.1-r0 —
Alpine v3.7 exim 4.90.1-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 2

GitHub 5 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 7

References