CVEfocus › CVE database › CVE-2018-6789

CVE-2018-6789

Known exploited (CISA KEV) · ransomwareCVSS 9.8 CriticalEPSS 82.1% (in the top 1% of all CVEs)Published 2018-02-08Updated 2025-10-21Assigner: mitre

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.

CWE-120

What to do

This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2021-11-03). If you run an affected version, patch or mitigate now.

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

23Fixed
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04exim4Fixed4.86.2-2ubuntu2.3UBUNTU-CVE-2018-6789
Ubuntu 14.04exim4Fixed4.82-3ubuntu2.4UBUNTU-CVE-2018-6789
Debian 14exim4Fixed4.90.1-1DEBIAN-CVE-2018-6789
Debian 13exim4Fixed4.90.1-1DEBIAN-CVE-2018-6789
Debian 12exim4Fixed4.90.1-1DEBIAN-CVE-2018-6789
Red Hat Enterprise Linux 5eximWill not fix
Will not fix
Alpine Linux 3.24eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.23eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.22eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.21eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.20eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.19eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.18eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.17eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.16eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.15eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.14eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.13eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.12eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.11eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.10eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.9eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.8eximFixed4.90.1-r0ALPINE-CVE-2018-6789
Alpine Linux 3.7eximFixed4.90.1-r0ALPINE-CVE-2018-6789

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.