Exim before 4.99.3, in certain GnuTLS configurations, has a remotely reachable use-after-free in the BDAT body parsing path. It is triggered when a client sends a TLS close_notify mid-body during a CHUNKING transfer, followed by a final cleartext byte on the same TCP connection. This can lead to heap corruption. An unauthenticated network attacker exploiting this vulnerability could execute arbitrary code.
CVE-2026-45185
CVSS base score
9.8 (v3.1)
Severity
CRITICAL
Attack vector
Network
Weakness
CWE-416
Last modified
November 11, 2026
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
exim exim
References
- code.exim.org Vendor Advisory
- exim.org Product
- exim.org Broken Link
- exim.org Release Notes
- news.ycombinator.com Issue Tracking
- www.openwall.com Mailing List, Third Party Advisory
- xbow.com Third Party Advisory
- www.openwall.com Mailing List, Third Party Advisory