Live threats

All CVEs / Exim

CVE-2018-6789Exim

Buffer Overflow in Exim base64d Function

Critical 9.8 KEVRansomware No auth neededHigh EPSS

Priority
97
CVSS 3.1
9.8
EPSS
82.1%
probability of exploitation in 30 days · percentile 100
Auth required
No
In KEV since
Nov 3, 2021
CISA deadline
May 3, 2022
Ransomware use
Confirmed
Published
Feb 8, 2018
Updated
Jun 17, 2026
Category
Server · Linux
Weakness (CWE)
CWE-120
SSVC (CISA)
Exploitation: active · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Exim before version 4.90.1 contains a buffer overflow in the base64d function of the SMTP listener that allows remote code execution without authentication. An attacker can send a specially crafted message to trigger the vulnerability. CISA confirmed this vulnerability is being actively exploited.

Show the original NVD text

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.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

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

Action required by CISA: Apply updates per vendor instructions.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 4.90.1

Update Exim to version 4.90.1 or later. Refer to the vendor security advisory for specific instructions.

Vendor advisory · exim.org ↗

  1. Apply the vendor's security update for Exim.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was May 3, 2022.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected products (CPE)

VendorProductVersions
eximexim< 4.90.1
debiandebian_linux7.0
debiandebian_linux8.0
debiandebian_linux9.0
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux17.10

Official sources

References

Links published by the sources. Open them with care.