CVEBrief

Home / Exim / Exim / CVE-2018-6789

CVE-2018-6789: is it exploited, and which versions of Exim are affected and fixed?

CVE-2018-6789 is a buffer overflow vulnerability in Exim, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on November 3, 2021, with a federal due date of May 3, 2022. Affected: exim before 4.90.1, debian linux 7.0, debian linux 8.0 and 4 more (NVD). Fixed in 4.90.1 (NVD). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:35 UTC.

Exploited in the wild
Yes, CISA KEV
added November 3, 2021, due May 3, 2022, used in ransomware
Affected
exim before 4.90.1, debian linux 7.0, debian linux 8.0 and 4 more
NVD
Fixed in
4.90.1
NVD
Severity
Critical 9.8
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
82.1% in 30 days
higher than 100% of CVEs; FIRST, December 2, 2026

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.

From the CVE record by mitre, last updated October 21, 2025, 23:45 UTC.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
eximeximbefore 4.90.1application
debiandebian linux7.0operating system
debiandebian linux8.0operating system
debiandebian linux9.0operating system
canonicalubuntu linux14.04operating system
canonicalubuntu linux16.04operating system
canonicalubuntu linux17.10operating system

NVD analysis (status Analyzed), last modified June 17, 2026, 02:02 UTC.

How severe is CVE-2018-6789?

ScoreVersionVectorSource
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
High 7.5CVSS 2.0AV:N/AC:L/Au:N/C:P/I:P/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2018-6789 exploited in the wild?

CISA KEV
Listed as Exim Buffer Overflow Vulnerability, added November 3, 2021; federal agencies must act by May 3, 2022
Required action
Apply updates per vendor instructions.
Ransomware use
Known
CISA's summary
Exim contains a buffer overflow vulnerability in the base64d function part of the SMTP listener that may allow for remote code execution.
CISA SSVC
Exploitation: active; automatable: yes; technical impact: total (CISA ADP, February 7, 2025)
EPSS
82.1% probability of exploitation activity in the next 30 days, percentile 99.7 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
February 6, 2018
Published
February 8, 2018, 23:00 UTC
CVE record updated
October 21, 2025, 23:45 UTC by mitre
NVD
Analyzed, last modified June 17, 2026, 02:02 UTC
Last checked
CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:35 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD · CISA KEV

What other CVEs affect Exim?

Every CVE in Exim

Questions about CVE-2018-6789

Is CVE-2018-6789 exploited in the wild?

Yes. CISA added CVE-2018-6789 to its Known Exploited Vulnerabilities catalog on November 3, 2021 and set federal agencies a due date of May 3, 2022. CISA lists it as used in ransomware campaigns. FIRST's EPSS gives it a 82.1% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Exim are affected by CVE-2018-6789?

exim before 4.90.1, debian linux 7.0, debian linux 8.0, debian linux 9.0, ubuntu linux 14.04, ubuntu linux 16.04 and 1 more, per the NVD. The tables above give every range the sources list.

Which version fixes CVE-2018-6789?

4.90.1, per the NVD. Check the vendor's advisory before you rely on it.

How severe is CVE-2018-6789?

Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2018-6789?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.