patchminder
Proof of concept · GitHub CVE-2026-45185

Remote code executionin Exim.

Published 12 May 2026 · Updated 14 May 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.3% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 4.99.3 or later
In plain words

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.

What to do now
  • Upgrade Exim to 4.99.3 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Exim
4.97 to before 4.99.3
4.99.3
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 10 May 2026
    CVE ID reserved by mitre.
  2. 12 May 2026
    Published in the CVE List.
  3. 12 May 2026
    First public proof of concept on GitHub.
  4. 14 May 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
4 repositories
GitHubno warning signs foundMJ-bin/POC_CVE-2026-451854 stars · created 19 May 2026POC_CVE-2026-45185 for nuclei-templates
GitHubno warning signs foundliamromanis101/Dead.Letter-CVE-2026-451852 stars · created 12 May 2026Dead.Letter CVE-2026-45185 EXIM Vulnerability Detection Script
GitHubno warning signs foundmateraj2/cve-2026-45185-detection-script0 stars · created 14 May 2026These detection scripts are property of the SECPlayground Platform. Two safe detection scripts. Neither drives the close_notify-mid-BDAT trigger, so they will not crash the daemon or leave panic-log e
GitHubno warning signs found0init/CVE-2026-451850 stars · created 7 Aug 2026

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Exim vulnerabilities

Same weakness: Use after free

All CWE-416 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-45185: Remote code execution in Exim. https://patchminder.com/cve/cve-2026-45185/ (accessed 5 December 2026).