CVE-2026-40684: USN-8228-2: Exim regression

Vulnerability · Reported by Ubuntu Security Notices · · CWE-684

Severity
High Risk score 75/100
CVSS
7.5 v3.1 · from NVD
Exploit chance (EPSS)
0.63% Higher than 45% of CVEs
Known exploited
No Not in CISA KEV

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.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)

How this vulnerability can be exploited

An attacker can exploit this vulnerability remotely over the network, without any login, and without any action from a user. Attack complexity is low, so no special conditions are needed. If successful, the attacker could crash or disrupt the service.

Is it being exploited?

The EPSS model estimates a 0.63% chance this CVE will be exploited in the next 30 days, which is low and higher than 45% of all published CVEs.

Patch priority and what to do

Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

See what each part means in the official CVSS calculator ↗

Tags

Linux, rce, CVE-2026-40684

Sources & references

How this data is collected: methodology & sources.

Run this software? Get free alerts for new vulnerabilities →

Need to block attackers? Free hourly IOC blocklists (IPs, domains, URLs, hashes) →

Open the live threat dashboard →

Subscribe via RSS.