CVE-2018-6789

CVE-2018-6789 is a critical-severity vulnerability in Exim with a CVSS 3.x base score of 9.8. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2021-11-03). The underlying weakness is classified as CWE-120.

Key facts

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.

Frequently asked questions

What is CVE-2018-6789?
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.
How severe is CVE-2018-6789?
CVE-2018-6789 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2018-6789 being actively exploited?
Yes. CVE-2018-6789 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2021-11-03, which means active exploitation has been confirmed. It should be prioritised for remediation.
What products are affected by CVE-2018-6789?
CVE-2018-6789 primarily affects Exim. In total, 7 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2018-6789?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
Does CVE-2018-6789 have an EU (EUVD) identifier?
Yes. CVE-2018-6789 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2018-18536. It is also flagged as exploited in the EUVD (since 2021-11-03).
When was CVE-2018-6789 published?
CVE-2018-6789 was published on 2018-02-08 and last updated on 2026-06-17.

References

Affected products (7)

More vulnerabilities in Exim

All CVEs affecting Exim →

Other CWE-120 (Classic Buffer Overflow) vulnerabilities

Browse all CWE-120 (Classic Buffer Overflow) vulnerabilities →

Threat intelligence

Threat-intel indicators referencing this CVE: