Software 45320 Published by

Exim 4.100.3 has been released, extending an initial patch for CVE-2026-137702, a heap out-of-bounds write in the SMTP header decoder that requires no authentication to trigger. The vulnerability is particularly dangerous because Exim runs header expansion for access control lists with root privileges, allowing corrupted state from the unprivileged decoder to reach a root execution path. This flaw affects an enormous number of servers since Debian and cPanel ship Exim as the default mail transfer agent, often leaving operators unaware of its presence entirely. There are no published workarounds, so administrators must upgrade to 4.100.3 and restart the daemon immediately to stop the old binary from listening on port 25.



Exim Drops 4.100.3 to Plug Heap Overflow That Could Lead to Root Execution

Exim 4.100.3 has been released, and it is an extended patch for a heap out-of-bounds write that slips past SMTP reception and lands in root-privileged code. The vulnerability, tracked as CVE-2026-137702, lives in the mail server’s RFC 2047 MIME header decoder. No authentication is required. You just need to send a carefully crafted email.

If you run Debian or cPanel, you almost certainly have Exim running right now. It is the default mail transfer agent on Debian, and cPanel bundles it as the default MTA across millions of shared hosting accounts. Most operators do not even know it is there. That operational invisibility turns every Exim flaw into a potential internet-wide incident.

Exim

The Bug and Why It Escapes Its Sandbox

Here is how it actually breaks. Exim decodes RFC 2047 encoded headers during SMTP reception with rfc2047_decode2(). When a sender specifies an unusual or invalid charset, the function sets an error flag and continues with the raw header text. But it returns a pointer to the shorter raw buffer while retaining newsize, which still holds the decoded block’s larger capacity. The calling string expansion routine does not notice the mismatch. It concatenates data past the raw header’s actual allocation. Heap corruption follows.

The worse part? Exim splits its privilege model intentionally. SMTP reception runs unprivileged. But header expansion for access control lists, routers, and transport definitions runs as root. That out-of-bounds write during reception eventually feeds the root-privileged expansion path. Corrupted state becomes executable state. CVSS rates it an 8.1. The Exim team calls it medium. Keep in mind that the gap likely comes down to internal risk tolerance versus standardized scoring models.

This is not the first time Exim has taken a hit to its decoding routines. CVE-2018-6789 exploited an off-by-one in its base64 decoder and affected every single version prior to 4.90.1. Over six million instances showed up on Shodan that year. Chinese state actors exploited it in the wild.

The 2026 calendar reads like a forced march. July brought 4.99.5, which patched a .forward privilege escalation and directory traversal. September delivered 4.100.1, a coordinated response to hardening work sparked by a NIST SQLite disclosure. That release alone contained four vulnerabilities, including a Proxy Protocol heap read and a GnuTLS use-after-free. November added 4.100.2 and 4.100.3 in rapid succession. The pattern is unmistakable. Decades of architectural complexity are finally meeting their match.

What You Need to Do Now

There are no workarounds. The advisory explicitly lists none. You need to upgrade.

  1. Run exim -bV | head -1. If you see anything below 4.100.3, you are running vulnerable code.
  2. Upgrade immediately. cPanel users should run /scripts/upcp --security and verify cpanel-exim hit 4.100.2-2 or later. Debian and Ubuntu users can pull the patched exim4 package from security repositories. Fedora and RHEL families need sudo dnf update exim && sudo systemctl restart exim. If you built from source, grab the 4.100.3 tarball and rebuild with your normal flags.
  3. Restart the daemon after upgrading so the old binary actually stops listening on port 25. Confirm the running version with exim -bV.

Until you patch, monitor your panic logs for SIGSEGV or SIGABRT signals, and keep an eye on inbound mail with non-standard charset headers like =?unknown?Q?...=. Binding SMTP to localhost is not an upstream-endorsed mitigation, so treat it as a temporary business decision at best.

Head here to the FTP site to download the tarballs.