Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Linux

Advisory High CVE Analysis

Ubuntu fixes Exim regression from USN-8228-1 and patches heap memory exposure

According to Ubuntu's USN-8228-2 notice, a new Exim update corrects a DNS-handling regression that the earlier USN-8228-1 update introduced, and also fixes a separate heap memory exposure.

LinuxOperating systemsEmailVulnerabilities

Key points

  • Ubuntu's USN-8228-2 corrects a regression from the earlier USN-8228-1 Exim update, which came from the CVE-2026-40684 patch.
  • The DNS regression affects 20.04, 22.04, 24.04 and 26.04 LTS; the heap memory exposure affects 20.04, 22.04 and 24.04 LTS.
  • Three further CVEs (CVE-2026-40685, -40686, -40687) are covered, with no stated evidence of in-the-wild exploitation.
  • Fixed packages are exim4-daemon-heavy and exim4-daemon-light, version 4.93-13ubuntu1.12+esm2.

According to Ubuntu's security notice USN-8228-2, the update corrects a regression introduced by the earlier Exim update, USN-8228-1. Readers should review the original notice for full details.

The DNS regression

The regression came from the patch for CVE-2026-40684. It causes an out-of-bounds memory read when Exim handles certain DNS data. Ubuntu says this regression affects 20.04 LTS, 22.04 LTS, 24.04 LTS and 26.04 LTS.

Heap memory exposure

A separate issue lets an SMTP client that sends RSET during a BDAT transfer obtain heap memory contents within a 250 response. The notice says this affects Ubuntu 20.04 LTS, 22.04 LTS and 24.04 LTS. According to the notice, this update corrects both the DNS regression and this exposure.

Other CVEs in the notice

CVE-2026-40685 involves improper parsing of malformed JSON in message headers. The notice says a remote attacker might be able to run arbitrary code. CVE-2026-40686 involves improper handling of trailing UTF-8 bytes, and a remote attacker might be able to obtain sensitive information. CVE-2026-40687 involves improper handling of SPA authenticator input, and an authenticated user might be able to run arbitrary code. The notice does not say whether any of these issues has been exploited in the wild.

Fixed packages

The fixed packages are exim4-daemon-heavy and exim4-daemon-light, version 4.93-13ubuntu1.12+esm2. According to the notice, a standard system update applies the necessary changes. The source does not state which release line this version applies to. The issue is tracked in Ubuntu Launchpad bug 2175101.

What to do

  1. Apply the standard Ubuntu system update to install exim4-daemon-heavy and exim4-daemon-light, version 4.93-13ubuntu1.12+esm2.
  2. Install this update even if USN-8228-1 was already applied, since it corrects the regression that update introduced.
  3. Review Ubuntu notice USN-8228-2 and Launchpad bug 2175101 to confirm which of your releases are affected.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

Ubuntu USNubuntu.com

“USN-8228-2: Exim regression”

USN-8228-1 fixed vulnerabilities in Exim. Unfortunately, the fix for CVE-2026-40684 introduced an out-of-bounds read when Exim processed certain DNS data. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. Additionally, an SMTP client could expose heap memory in a 250 reply by sending RSET during a BDAT transfer. This issue only affected Ubuntu 20…

Vulnerabilities mentioned

More on this topic