CVE-2026-94054: 
Exim vulnerability analysis and mitigation

Overview

CVE-2026-94054 is an out-of-bounds write vulnerability in Exim mail transfer agent affecting versions 4.83 through before 4.100.1. When the Proxy-Protocol feature is enabled and an attacker controls a proxy server, they can trigger a memory write beyond the intended buffer boundary. The vulnerability was published on September 19, 2026, with a patch released in Exim 4.100.1. CVSS v3.1 scores vary by source: NVD rates it 5.3 (Medium) while GitHub Advisory and ENISA rate it 7.0 (High) (GitHub Advisory, Red Hat Bugzilla).

Technical details

The vulnerability is classified as CWE-787 (Out-of-bounds Write), occurring in Exim's Proxy-Protocol parsing logic. When Exim is configured to accept Proxy-Protocol connections, it trusts data supplied by the connecting proxy; an attacker who controls or impersonates a proxy can send a maliciously crafted Proxy-Protocol header that causes Exim to write data beyond the bounds of an allocated buffer. Exploitation requires that Proxy-Protocol support is enabled in the Exim configuration and that the attacker can establish a connection to Exim acting as a proxy. The Exim mailing list security announcement provides additional context on the flaw (Exim Mailing List, GitHub Advisory).

Impact

Successful exploitation can result in memory corruption that may lead to arbitrary code execution on the Exim server, exposure of sensitive data (e.g., email content, credentials), or a crash of the Exim service. Because Exim typically runs with elevated privileges and handles all inbound mail, a compromise could allow an attacker to intercept or manipulate email traffic, pivot to internal systems, or establish persistent access. Red Hat's bug tracker characterizes the impact as arbitrary code execution via attacker-controlled Proxy-Protocol (Red Hat Bugzilla, GitHub Advisory).

Exploitability

As of the time of reporting, there is no public proof-of-concept exploit and no confirmed in-the-wild exploitation (GitHub Advisory). The EPSS score is approximately 0.27% (17th percentile), indicating a low near-term exploitation probability. The NVD SSVC assessment classifies exploitation as "none" and automatable as "no," reflecting the requirement for an attacker-controlled proxy as a precondition. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Detection plugins are available from Nessus (IDs 348342, 350852) and Qualys (ID 6291815).

Exploitation steps

  1. Reconnaissance: Identify Exim mail servers exposed to the internet using tools such as Shodan or Censys, filtering for versions prior to 4.100.1 and checking for Proxy-Protocol support in banners or configuration leaks.
  2. Verify Proxy-Protocol is enabled: Attempt a Proxy-Protocol handshake (e.g., send a PROXY TCP4 ... header on connection) to confirm the target Exim instance accepts and processes Proxy-Protocol data.
  3. Craft malicious Proxy-Protocol header: Construct an oversized or malformed Proxy-Protocol header designed to overflow the buffer used during parsing — for example, an excessively long address field or an unexpected protocol version that triggers the out-of-bounds write.
  4. Deliver payload: Connect to the target Exim SMTP port (typically 25 or 587) from an attacker-controlled host acting as a proxy, and send the crafted Proxy-Protocol header before any SMTP commands.
  5. Achieve objective: Depending on memory layout and heap state, the out-of-bounds write may corrupt adjacent memory structures to redirect execution flow, potentially enabling remote code execution as the Exim process user (GitHub Advisory, Exim Mailing List).

Indicators of compromise

  • Network: Unexpected SMTP connections from untrusted or unknown IP addresses presenting Proxy-Protocol headers; connections to Exim on port 25/587 with malformed or oversized PROXY protocol preambles.
  • Logs: Exim panic log (/var/log/exim4/paniclog) entries indicating segmentation faults or memory corruption errors; unexpected process crashes or restarts of the Exim daemon.
  • Process: Unusual child processes spawned by the Exim process (e.g., shells, network utilities); Exim process consuming abnormal memory or CPU.
  • File System: Unexpected files written to Exim spool directories or system directories by the Exim user; new cron jobs or SSH authorized keys added under the Exim service account.

Mitigation and workarounds

Upgrade Exim to version 4.100.1 or later, which contains the fix for this out-of-bounds write (Exim Mailing List). Ubuntu has released security notice USN-8834-1 addressing this issue for affected Ubuntu releases. If an immediate upgrade is not possible, disable Proxy-Protocol support in the Exim configuration if it is not required, or restrict Proxy-Protocol connections using firewall rules or Exim's hosts_proxy ACL to only explicitly trusted proxy IP addresses. Debian and Red Hat package maintainers have also tracked this issue for their respective distributions.

Community reactions

Security Online reported on the Exim 4.100.1 vulnerabilities shortly after disclosure (Security Online). Ubuntu issued security notice USN-8834-1 and Linux security aggregators including LinuxSecurity.com and Linux Compatible covered the advisory. AUSCERT published bulletin ESB-2026.11676 for Australian organizations. The vulnerability was also noted in TUXEDO Computers' weekly OS security roundup, reflecting broad Linux distribution community awareness.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

exim4

Affected

sid

exim4: 4.100.1-1

Fixed

trixie

exim4: 4.98.2-1+deb13u5

Fixed

Ubuntu

Fixed

bionic (esm-infra)

exim4

Unknown

devel

exim4

Not Affected

focal (esm-infra)

exim4

Unknown

jammy

exim4: 4.95-4ubuntu2.12

Fixed

noble

exim4: 4.97-4ubuntu4.8

Fixed

resolute

exim4: 4.99.1-1ubuntu1.5

Fixed

trusty (esm-infra-legacy)

exim4

Unknown

xenial (esm-infra-legacy)

exim4

Unknown

Source: This report was generated using AI

Related Exim vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-66141HIGH7.8
  • Exim logoExim
  • exim-mysql
NoYesJul 24, 2026
CVE-2026-94056HIGH7.5
  • Exim logoExim
  • exim-pgsql-debuginfo
NoYesSep 19, 2026
CVE-2026-94057MEDIUM5.3
  • Exim logoExim
  • exim-debugsource
NoYesSep 19, 2026
CVE-2026-94055MEDIUM5.3
  • Exim logoExim
  • exim-debugsource
NoYesSep 19, 2026
CVE-2026-94054MEDIUM5.3
  • Exim logoExim
  • exim-pgsql
NoYesSep 19, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management