CVE-2026-66140: Exim: Exim before 4.99.5 allows directory traversal to access files outside of the spool area, a…

High 7.8 EPSS 0.4% Exim

Exim before 4.99.5 allows directory traversal to access files outside of the spool area, and consequently gain privileges, because arguments related to queue-name are mishandled.

What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms

What to do now

  1. Check whether you run Exim and which version (commands below).
  2. Install the fixed version for your system: see “Patch it” below.
  3. sudo systemctl restart exim4 (Debian/Ubuntu) or exim (others)

Affected and fixed versions

Affected:

Patch it

Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.

Debian
sudo apt update
sudo apt install --only-upgrade exim4-daemon-light (or exim4-daemon-heavy)
Ubuntu
sudo apt update
sudo apt install --only-upgrade exim4-daemon-light (or exim4-daemon-heavy)
RHEL, AlmaLinux, Rocky, Oracle
sudo dnf upgrade --refresh exim (EPEL)
Fedora
sudo dnf upgrade --refresh exim
SUSE / openSUSE
sudo zypper refresh
sudo zypper update exim
Amazon Linux
not in distro repos: vendor repository
Arch Linux
sudo pacman -Syu
Alpine
apk update && apk upgrade exim
FreeBSD
pkg update && pkg upgrade exim

General update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.

Fix status in Linux distributions

ReleasePackageStatusFixed version / advisory
Debian 12exim4not fixed yet
Debian 13exim4fixed4.98.2-1+deb13u4
Debian testingexim4fixed4.99.4-2

From the Debian security tracker, Ubuntu CVE tracker and Red Hat Security Data API, refreshed every few hours.

Sources

Page generated automatically from official sources on 2026-11-03 18:05 UTC. Always confirm with your vendor's advisory.