SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityAnalyzed

CVE-2018-6789

Exim Buffer Overflow Vulnerability

KEVEXPLOIT ×2CRITICAL 9.8EPSS 82.1%

Does this matter?

Known to be exploited in the wild (CISA KEV, CISA remediation deadline 3 May 2022). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.

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.

CVSS 3.1
9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
82.14% probability · 100th percentile
Public exploits
2 in Exploit-DB · first 2 May 2018
CISA KEV
Listed 3 November 2021 · due 3 May 2022 · used in ransomware campaigns
Weakness
CWE-120
Affected
exim/exim · debian/debian linux · canonical/ubuntu linux
Source
cve@mitre.org
EPSS trend
0%43%85%27 October 2026: 82.14%27 October 202627 October 2026

EPSS 82.1% since 27 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

CISA notes

Apply updates per vendor instructions. https://nvd.nist.gov/vuln/detail/CVE-2018-6789

Public exploits (2)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-45671source ↗exim 4.90 - Remote Code Executionlinux · hackk.grremote24 October 2018no
EDB-44571source ↗Exim < 4.90.1 - 'base64d' Remote Code Executionlinux · straight_blastremote2 May 2018no

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.