CVE-2026-40684
Summary
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…
Severity breakdown
High · 7.5
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Weakness
- CWE-684: Incorrect Provision of Specified Functionality
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Exim | < 4.99.2 | 4.99.2 |
References by type
Vendor advisories
Patches and fixed releases
Other references
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-40684?
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… Weakness type: Incorrect Provision of Specified Functionality (CWE-684).
How severe is CVE-2026-40684?
CVE-2026-40684 has a CVSS 3.1 base score of 7.5 (high), from NVD. An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-40684 being exploited?
Not as far as is known: CVE-2026-40684 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-40684?
Exim < 4.99.2 (fixed in 4.99.2).
How do I fix CVE-2026-40684?
Update to a fixed release: Exim 4.99.2.
Timeline & sources
References
Related vulnerabilities & news
- Debian issues Roundcube fix bundle as CVE identifiers remain pending
- Shadow Package Vulnerability Fixed in 4.20.4 Release
- Ghostscript Flaw "Upload2Shell" Lets Attackers Hijack WordPress, Webmail and Print Servers
- Debian Issues Security Update for Roundcube
- LibreOffice OS Command Injection Vulnerability in CVE-2026-100101