USN-8228-2: Exim regression

Published Nov 30, 2026
·
Updated

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.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS. This update fixes these problems. We apologize for the inconvenience. Original advisory details: It was discovered that Exim incorrectly handled parsing malformed JSON in message headers. A remote attacker could possibly use this issue to execute arbitrary code. (CVE-2026-40685) It was discovered that Exim incorrectly handled processing of UTF-8 trailing characters. A remote attacker could possibly use this issue to obtain sensitive information. (CVE-2026-40686) It was discovered that Exim incorrectly handled SPA authenticator input. An authenticated user could possibly use this issue to execute arbitrary code. (CVE-2026-40687)

Affected Software

4 affected componentsFixes available
All of the following
ubuntu/exim4-daemon-heavy<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/exim4-daemon-light<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/exim4-daemon-heavy to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  2. Upgrade

    Upgrade ubuntu/exim4-daemon-light to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch USN-8228-1

Event History

Nov 30, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Frequently Asked Questions

1

Which Ubuntu releases are affected by the DNS-processing regression?

The out-of-bounds read triggered by certain DNS data affects Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS.

2

Which Ubuntu releases are affected by the BDAT/RSET heap-memory exposure?

The issue in which an SMTP client can expose heap memory in a 250 reply by sending RSET during a BDAT transfer affects Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS. Ubuntu 26.04 LTS is not listed as affected by this issue.

3

What level of access does exploitation of the original Exim issues require?

Malformed JSON header parsing and UTF-8 trailing-character handling may be exploitable remotely, with impacts including arbitrary code execution and sensitive-information disclosure. Exploitation of the SPA authenticator issue requires an authenticated user.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203