Ubuntu fixes Exim regression from the CVE-2026-40684 patch
Original title: USN-8228-2: Exim regression
A DNS out-of-bounds read hit four Ubuntu LTS releases; a BDAT heap leak hit three.
USN-8228-2 says the USN-8228-1 fix for CVE-2026-40684 introduced an out-of-bounds read when Exim processed certain DNS data on Ubuntu 20.04 LTS, 22.04 LTS, 24.04 LTS, and 26.04 LTS. An SMTP client could also expose heap memory in a 250 reply by sending RSET during a BDAT transfer on 20.04, 22.04, and 24.04 LTS. This update fixes both problems. The original notice said malformed JSON in message headers could possibly let a remote attacker execute further action, but that sentence is cut off.
Unconfirmed: The original impact sentence is cut off after "execute," and no exploitation status is stated.
- The DNS regression affected Ubuntu 20.04, 22.04, 24.04, and 26.04 LTS.
- The heap exposure did not affect Ubuntu 26.04 LTS.
- No package version strings are given in the snippet.
- Ubuntu says the update fixes the regression and the heap exposure.
Impact: Out-of-bounds read and SMTP heap memory exposure
| Product | Affected |
|---|---|
| Ubuntu Exim | Ubuntu 20.04 LTS, 22.04 LTS, 24.04 LTS, and 26.04 LTS |
- 1.Install the updated Exim packages from USN-8228-2.
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-40684 | In Exim before 4.99.2, on systems using musl libc (not glibc), an attacker can crash the connection instance when malformed DNS data is present in PTR records | 7.5 | <1% |
From the original article
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.
ubuntu.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.