CVE-2026-45185: Dead.Letter
- Vendor
- Exim
Dead.Letter is a remotely reachable use-after-free vulnerability in the BDAT message body parsing path of Exim versions 4.97 through 4.99.2 compiled with GnuTLS support. During an active SMTP CHUNKING transfer, a client can send a TLS close_notify alert before the body is complete, followed by a final cleartext byte on the same TCP connection. TLS teardown frees the transfer buffer but leaves stale lower-layer receive callbacks in the nested BDAT processing stack. Subsequent processing can invoke tls_ungetc() against the freed buffer, producing a single-byte heap write. This can corrupt allocator metadata and potentially enable unauthenticated remote code execution. OpenSSL-based builds are not affected.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can allow an unauthenticated remote attacker to execute arbitrary code in the affected Exim process, compromising the mail service and data accessible to that process. Potential consequences include access to sensitive email, unauthorized command execution, and further compromise of the environment, subject to process privileges and network access. The underlying heap corruption can also disrupt service. Reliable code execution depends on the target environment; ASLR, PIE, and allocator protections complicate exploitation but do not remediate the vulnerability.
Mitigation
If you can’t patch tonight, do this now.
The Exim advisory states that there is no known mitigation that resolves the vulnerability other than upgrading. Disabling CHUNKING advertisement through chunking_advertise_hosts has been suggested as an exposure-reduction measure, but it should not be treated as a vendor-confirmed substitute for the security update.
Remediation
Patch, then assume compromise.
Upgrade affected installations to Exim 4.99.3 or later, or install a distribution-provided security update containing the corresponding fix. The fix resets the input processing stack when a TLS close notification arrives during an active BDAT transfer, preventing stale receive callbacks and pointers from being used after TLS teardown.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-45185 exploited in the wild?
- As of Oct 21, 2026, Mallory has no reports of CVE-2026-45185 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-45185?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-45185, the earliest disclosed Aug 7, 2026.
- Is there a patch for CVE-2026-45185?
- Upgrade affected installations to Exim 4.99.3 or later, or install a distribution-provided security update containing the corresponding fix. The fix resets the input processing stack when a TLS close notification arrives during an active BDAT transfer, preventing stale receive callbacks and pointers from being used after TLS teardown.
- What products are affected by CVE-2026-45185?
- Exim.
- How severe is CVE-2026-45185?
- CVE-2026-45185 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 1.3% (71st percentile) as of Oct 21, 2026.
Recent activity
103 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.