CVE-2026-45185: Exim before 4.99.3, in certain GnuTLS configurations, has a remotely reachable use-after-free in the BDAT body
CVE-2026-45185 is a critical-severity flaw (CVSS 9.8) affecting exim. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.3% (top 30%) |
| CISA exploited list | No |
| Weakness | CWE-416 |
| Published | 2026-05-12 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: MJ-bin/POC_CVE-2026-45185 (4 stars)
- GitHub PoC: liamromanis101/Dead.Letter-CVE-2026-45185 (2 stars)
- GitHub PoC: materaj2/cve-2026-45185-detection-script (0 stars)
- Write-up: xbow.com/blog/dead-letter-cve-2026-45185-xbow-found-rce-exim
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-45185?
exim: upgrade to 4.99.3. Exact commands for each OS are on this page.
Is CVE-2026-45185 being exploited?
CVE-2026-45185 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-45185 affect?
CVE-2026-45185 affects exim. Severity is critical (CVSS 9.8). 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 cle
How urgent is CVE-2026-45185?
Priority 60/100. Critical severity; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Exim vulnerabilities · GnuTLS vulnerabilities
Related CVEs
- CVE-2026-94054 HIGH 7.0 UPGRADE Exim before 4.100.1, when Proxy-Protocol is used with an attacker-controlled proxy, has an out-of-bounds write
- CVE-2026-94055 LOW 3.7 UPGRADE Exim before 4.100.1, when certain non-default TLS settings are used with GnuTLS, has a use-after-free.
- CVE-2026-94056 HIGH 7.5 UPGRADE Exim before 4.100.1, when Proxy-Protocol is used with an attacker-controlled proxy, allows attackers to read c
- CVE-2026-94057 MEDIUM 4.0 UPGRADE Exim before 4.100.1 allows SMTP smuggling in which the received message does not match any sent message, and i
- CVE-2026-66141 HIGH 7.4 UPGRADE Exim before 4.99.5 allows .forward privilege escalation because force_command for a pipe transport is mishandl