| 1 |
Title: Exim Security Advisory for EXIM-Security-2026-05-01.1 / CVE-2026-45185 |
| 2 |
Announced: 2026-05-12 |
| 3 |
Reporter: [email protected] |
| 4 |
Affects: Exim 4.97 up to and including 4.99.2 |
| 5 |
Corrected: Exim 4.99.3 |
| 6 |
|
| 7 |
Exim Security Vulnerability: EXIM-Security-2026-05-01.1 |
| 8 |
========================================================= |
| 9 |
|
| 10 |
Identifier: EXIM-Security-2026-05-01.1 (CVE-2026-45185) |
| 11 |
Type: Remote Use-After-Free (UAF) |
| 12 |
Severity: [TO BE DETERMINED] |
| 13 |
Credit: [email protected] |
| 14 |
|
| 15 |
Timeline |
| 16 |
-------- |
| 17 |
|
| 18 |
2026-05-01 17:29:41 UTC: Initial security report received from Federico Kirschbaum (XBOW Security). |
| 19 |
2026-05-04 20:00:54 UTC: Federico Kirschbaum follows up, inquiring about the review of their submission. |
| 20 |
2026-05-05 02:53:xx UTC: Exim maintainers (Heiko Schlittermann) acknowledge the report and confirm a fix is being prepared in private repositories. |
| 21 |
2026-05-07 14:14:23 UTC: Reporter inquires about disclosure planning. Exim maintainers confirm coordinated release planning is underway. |
| 22 |
2026-05-07 22:00:45 UTC: Announcement to [email protected] |
| 23 |
2026-05-10 20:00:xx UTC: Restricted access to fixes provided for distributors. |
| 24 |
2026-05-12 14:00:xx UTC: Public coordinated release of the fix and advisory. |
| 25 |
2026-05-12 UTC: CVE-2026-45185 assigned. |
| 26 |
|
| 27 |
Vulnerability Summary |
| 28 |
--------------------- |
| 29 |
|
| 30 |
A remotely reachable memory corruption issue was discovered in Exim's GnuTLS backend. The vulnerability is triggered during BDAT message body handling when a client sends a TLS close_notify alert before the body transfer is complete, and then follows up with a final byte in cleartext on the same TCP connection. |
| 31 |
|
| 32 |
This sequence of events can cause Exim to write into a memory buffer that has already been freed during the TLS session teardown, leading to heap corruption. An attacker only needs to be able to establish a TLS connection and use the CHUNKING (BDAT) SMTP extension. |
| 33 |
|
| 34 |
Affected Versions |
| 35 |
----------------- |
| 36 |
|
| 37 |
- All Exim versions from 4.97 up to and including 4.99.2 are affected. |
| 38 |
- This vulnerability only impacts builds that use USE_GNUTLS=yes. Builds using OpenSSL or other TLS libraries are not affected. |
| 39 |
|
| 40 |
Mitigation |
| 41 |
---------- |
| 42 |
|
| 43 |
- There is no known mitigation other than upgrading. |
| 44 |
|
| 45 |
Resolution |
| 46 |
---------- |
| 47 |
|
| 48 |
The issue is resolved in Exim version 4.99.3. All users of affected versions are strongly encouraged to upgrade as soon as possible. |
| 49 |
|
| 50 |
The fix ensures that the input processing stack is cleanly reset when a TLS close notification is received during an active BDAT transfer, preventing the stale pointers from being used. |
| 51 |
|
| 52 |
References |
| 53 |
---------- |
| 54 |
|
| 55 |
- https://xbow.com/blog/dead-letter-cve-2026-45185-xbow-found-rce-exim |
| 56 |
|
| 57 |
Downloads |
| 58 |
--------- |
| 59 |
|
| 60 |
The new version will be available from the usual locations upon release: |
| 61 |
|
| 62 |
- https://ftp.exim.org/pub/exim/exim4/ |
| 63 |
- https://code.exim.org/exim/exim/releases |