CVE-2026-45185: Use After Free

Published May 12, 2026
·
Updated

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

Affected Software

14 affected componentsFixes available
Exim Exim<4.99.3
Exim Exim>=4.97<4.99.3
debian/exim4<4.96-15+deb12u9
4.96-15+deb12u9
debian/exim4<4.98.2-1+deb13u2
4.98.2-1+deb13u2
debian/exim4<4.99.2-2
4.99.2-2
debian/exim4
4.94.2-7+deb11u54.96-15+deb12u94.98.2-1+deb13u24.99.2-2
ubuntu/exim4*
ubuntu/exim4*
ubuntu/exim4*
ubuntu/exim4<4.93-13ubuntu1.12+esm1
4.93-13ubuntu1.12+esm1
ubuntu/exim4<4.95-4ubuntu2.8
4.95-4ubuntu2.8
ubuntu/exim4<4.97-4ubuntu4.5
4.97-4ubuntu4.5
ubuntu/exim4<4.98.2-1ubuntu2.2
4.98.2-1ubuntu2.2
ubuntu/exim4<4.99.1-1ubuntu1.2
4.99.1-1ubuntu1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/exim4 to a version that resolves this vulnerability.

    Fixed in 4.96-15+deb12u9
  2. Upgrade

    Upgrade debian/exim4 to a version that resolves this vulnerability.

    Fixed in 4.98.2-1+deb13u2
  3. Upgrade

    Upgrade debian/exim4 to a version that resolves this vulnerability.

    Fixed in 4.99.2-2
  4. Upgrade

    Upgrade debian/exim4 to a version that resolves this vulnerability.

    Fixed in 4.94.2-7+deb11u5Fixed in 4.96-15+deb12u9Fixed in 4.98.2-1+deb13u2Fixed in 4.99.2-2
  5. Upgrade

    Upgrade ubuntu/exim4 to a version that resolves this vulnerability.

    Fixed in 4.93-13ubuntu1.12+esm1
  6. Upgrade

    Upgrade ubuntu/exim4 to a version that resolves this vulnerability.

    Fixed in 4.95-4ubuntu2.8
  7. Upgrade

    Upgrade ubuntu/exim4 to a version that resolves this vulnerability.

    Fixed in 4.97-4ubuntu4.5
  8. Upgrade

    Upgrade ubuntu/exim4 to a version that resolves this vulnerability.

    Fixed in 4.98.2-1ubuntu2.2
  9. Upgrade

    Upgrade ubuntu/exim4 to a version that resolves this vulnerability.

    Fixed in 4.99.1-1ubuntu1.2
  10. Upgrade

    Upgrade Exim to a version that resolves this vulnerability.

    Fixed in 4.99.3

Event History

May 12, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
News Published
via The Hacker News·04:44 PM
Exploit Published
via GitHub·05:51 PM
Data Sourced
via OSV·08:16 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
May 13, 2026
News Published
via BleepingComputer·08:23 PM
May 18, 2026
News Published
via The Hacker News·01:50 PM
May 28, 2026
Data Sourced
via NVD·06:46 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-45185?

CVE-2026-45185 has been classified with a high severity rating due to its potential for remote exploitation.

2

How do I fix CVE-2026-45185?

To mitigate CVE-2026-45185, upgrade Exim to version 4.99.3 or later where the vulnerability is addressed.

3

What are the potential consequences of CVE-2026-45185?

Exploitation of CVE-2026-45185 may lead to denial of service or remote code execution on affected Exim email servers.

4

Which versions of Exim are affected by CVE-2026-45185?

Exim versions prior to 4.99.3 are affected by CVE-2026-45185.

5

Can CVE-2026-45185 be exploited remotely?

Yes, CVE-2026-45185 can be exploited remotely if certain GnuTLS configurations are in use.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203