GrepBoard/Manuals
605 manuals ·

Exim 4.100.3 and CVE-2026-137702: Check and Update

·Tested on Debian 13 trixie (Docker) · exim4 4.98.2-1+deb13u6 · advisories and trackers 2026-12-02·5 steps

Exim 4.100.3 extends the CVE-2026-137702 fix in 4.100.2. Debian 13 and 12 security packages still lack the extended fix, so check the two separately.

CVE-2026-137702 is a memory write flaw in how Exim receives SMTP traffic. According to the Exim advisory, a remote attacker can cause a write outside an allocated area, followed by an expansion operation with root privilege. The fix in 4.100.2 was not enough. Exim released 4.100.3 with an extended fix on December 1, 2026. According to the Debian tracker, the security packages for Debian 13 and 12 do not have the extended fix yet (checked December 1, 2026, 22:00 UTC).

[1] Check the executable and the installed package versions.

console
$ sudo exim4 -bV$ dpkg-query -W -f='${db:Status-Abbrev} ${Package} ${Version}\n' 'exim4*'

For a source installation, run -bV against the exim executable specified by the service. In the Debian package list, look for i in the second status column. This includes hi, an installed package on hold. Substitute exim4-daemon-heavy in the commands below if that is the installed variant.

[2] Compare the installed version with the fix status for your installation.

The detailed Exim advisory lists 4.100 and 4.100.1 as affected and 4.100.3 as fixed. It gives the severity as High and the mitigation as (None). 4.100.2 is not in the list of affected versions, but the 4.100.3 announcement describes the new fix as an "Extended version of fix in 4.100.2". Upgrade 4.100.2 to 4.100.3 or later too. Both sources use the GCVE identifier GCVE-25-2026-11-82-1. Detailed Exim advisory · 4.100.3 announcement

Debian tracks the first fix and the extended fix separately. The CVE page alone shows the security packages as fixed, but that refers to the first fix from 4.100.2. The extended fix is listed as "Extend 4.100.2 fix" on the exim4 source package page. Its TEMP-… name is temporary and can change.

DebianPackage versionFirst fix (CVE page)Extended fix
13 trixie (security)4.98.2-1+deb13u6 (DSA-6659-1)YesNo (vulnerable)
12 bookworm (security)4.96-15+deb12u11 (DLA-4940-1)YesNo (vulnerable)
forky4.100.1-5YesNo (vulnerable)
sid4.100.1-6YesYes

On Debian 13 and 12, upgrade to the security packages above to get the first fix, but do not treat the issue as resolved. When the source package page shows the extended fix as fixed for your release, upgrade again to that version. Do not mix sid packages into a stable release. If a server does not need to receive mail from outside, closing its SMTP listener or limiting who can connect reduces exposure. This is not a mitigation from the Exim advisory and does not replace the fix.

Exim and the distributions describe the issue differently. The Exim advisory lists 4.100 and 4.100.1 as affected, while Debian also patched the 4.96 and 4.98.2 lines. Ubuntu's CVE data says the issue was introduced in 4.100-RC1 and marks every listed Ubuntu release as not-affected. That data was last updated on December 1 at 00:33, with no time zone given. If that is UTC, it is earlier than the public release of 4.100.3 at 12:00 UTC the same day. Whether the assessment also covers the extended fix could not be confirmed. Check again for changes to your distribution's assessment.

For a source installation of 4.100, 4.100.1 or 4.100.2, download 4.100.3 or a later fixed release from Exim's official distribution site. Verify the matching .asc signature with the project's signing key. For 4.100.3, compare the archive's SHA-256 checksum with the value in the 4.100.3 announcement linked above. Official Exim downloads

[3] Refresh the APT indexes and check the candidates.

console
$ sudo apt-get update --error-on=any$ apt-cache policy exim4-base exim4-config exim4-daemon-light

Resolve any index update errors first. Read the Candidate and its repository in each package's version table. On November 30, 2026, the Debian 13 container returned these candidates for all three packages. The security repository still had the same version when checked again for this update.

Enabled repositoriesCandidate for all three packages
trixie and trixie-updates4.98.2-1+deb13u5
Both repositories plus trixie-security4.98.2-1+deb13u6

If a candidate is below the security package in the step 2 table, check whether the security repository is enabled and review APT priorities. The entry for 4.98.2-1+deb13u6 records the fix from 4.100.2 under the GCVE identifier. A matching GCVE identifier does not mean the extended fix is included. When a new version appears, look for 4.100.3 or "Extend 4.100.2 fix" in its changelog (the sid entry for [4.100.1-6](https://metadata.ftp-master.debian.org/changelogs/main/e/exim4/exim4_4.100.1-6_changelog) has both). Debian exim4 changelog

[4] Simulate the upgrade and check every installed Exim package.

console
$ apt-mark showhold$ apt-get -s install --only-upgrade exim4-base exim4-config exim4-daemon-light

Starting from the older version, the test simulation listed an Inst line for all three packages. If a package is kept below the security package version or the simulation shows an unexpected removal, find the cause before applying the upgrade.

Use a maintenance window because APT may restart the service during the upgrade. First run sudo exim4 -bV to check the configuration and sudo exim4 -bpc to record the queue count. Resolve any configuration errors before proceeding.

console
$ sudo apt-get install --only-upgrade exim4-base exim4-config exim4-daemon-light

Use apt-cache policy from step 3 to check each Installed version. In the test, all three packages upgraded to 4.98.2-1+deb13u6, matched their candidates, and had no explicit holds. Matching the candidate means you have the newest version in your repositories. It does not mean the extended fix from step 2 is included.

[5] Repeat the configuration and queue checks from step 4, then identify the daemon's running executable.

The configuration check in -bV is static. Use separate operational checks for values expanded at runtime and for actual delivery. The -bpc option reports the number of queued messages. Investigate any unexpected change in that count. Exim command-line options

For Debian's running systemd service, get its MainPID. If the PID is zero, check the service state first. For a positive PID, compare the device and inode numbers of the executable held by the process and the file on disk.

console
$ sudo systemctl is-active exim4.service$ pid=$(systemctl show -p MainPID --value exim4.service)$ test "$pid" -gt 0 && sudo stat -Lc '%d:%i %n' "/proc/$pid/exe" /usr/sbin/exim4

Matching numbers confirm the daemon is using the installed file. If they differ, check the path with sudo readlink "/proc/$pid/exe". A daemon still using the replaced file will show a (deleted) suffix. In that case, check the configuration and queue, run sudo systemctl restart exim4.service during the maintenance window, and verify the service state and inode with the new PID. For a source installation, use the actual service name and executable path.

Where the version check can mislead

The first line of exim4 -bV began with Exim version 4.98.2 both before and after the test upgrade. The package revisions show the change from deb13u5 to deb13u6, so use the package version on Debian. fixed on the Debian CVE page does not cover the extended fix either, so check both items in step 2. See the same version check for a PHP binary and its APT package.

#exim#exim4#cve#debian#smtp