CVE-2018-6789

Exim Buffer Overflow Vulnerability

Actively exploited · CISA KEV Ransomware use: known
9.8 CriticalCVSS v3.1
82.1%EPSS (30-day exploit probability)
2021-11-03added to KEV
2022-05-03CISA federal due date

Summary

Exim Exim. Exim contains a buffer overflow vulnerability in the base64d function part of the SMTP listener that may allow for remote code execution.

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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-120
Published
2018-02-08 (last modified 2026-06-17)

What to do

Apply updates per vendor instructions.

  1. Find every instance of Exim Exim in your asset inventory, including internet-facing ones.
  2. Apply the vendor fix or mitigation, or isolate/disconnect the asset until you can.
  3. Hunt for signs of compromise from before you patched; exploitation is already happening in the wild.
  4. Ask critical suppliers whether they are affected and when they will be patched.

FAQ

Is CVE-2018-6789 being exploited?

Yes. CISA added CVE-2018-6789 to its Known Exploited Vulnerabilities catalog on 2021-11-03, which means there is reliable evidence of active exploitation. It is also known to be used in ransomware campaigns.

How do I fix CVE-2018-6789?

CISA required action: Apply updates per vendor instructions.

What is the EPSS score for CVE-2018-6789?

The EPSS score is 82.14%, meaning an estimated 82.14% probability of exploitation activity in the next 30 days (percentile 100).

Other exploited Exim vulnerabilities

CVE-2010-4345Exim Privilege Escalation Vulnerability2022-03-25
CVE-2010-4344Exim Heap-Based Buffer Overflow Vulnerability2022-03-25
CVE-2019-16928Exim Out-of-bounds Write Vulnerability2022-03-03
CVE-2019-10149Exim Mail Transfer Agent (MTA) Improper Input Validation2022-01-10

All Exim exploited CVEs →

Triage many CVEs at once

Paste up to 25 CVEs and get KEV, EPSS and CVSS side by side, with CSV export.

Try Pro CVE triage

Sources: CISA KEV, NIST NVD, FIRST EPSS. This page is informational; verify against the vendor advisory before acting. © CyberStrategiX.