Skip to main content

Exim CVE-2026-45185

| EUVDEUVD-2026-29824 CRITICAL
Use After Free (CWE-416)
2026-05-12 mitre GHSA-fhg4-whcv-f8v4
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to Exim SMTP service
  2. Delivery
    Start STARTTLS/GnuTLS session
  3. Exploit
    Begin BDAT CHUNKING body transfer
  4. Execution
    Send TLS close_notify mid-body then cleartext byte
  5. Persist
    Trigger use-after-free heap corruption
  6. Impact
    Execute arbitrary code as Exim process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that Exim (before 4.99.3) be built/configured to use the GnuTLS TLS backend ('certain GnuTLS configurations'), and that the server accept SMTP CHUNKING/BDAT transfers. The concrete trigger is a protocol-timing sequence: a client sends a TLS close_notify alert mid-body during an in-progress BDAT/CHUNKING transfer, then writes a final cleartext byte on the same TCP connection. No authentication is required (PR:N) and no user interaction is needed. Limiting factors that reduce real-world exposure: instances built with OpenSSL instead of GnuTLS, or with CHUNKING not advertised/disabled, are not exploitable via this path; the precise close_notify-then-cleartext timing must be achieved; and reliable code execution (versus a crash) depends on heap grooming, which is harder than the CVSS AC:L rating suggests.

Impact

The signals are mixed and should be weighed carefully. CVSS 3.1 rates this 9.8 critical (AV:N/AC:L/PR:N/UI:N, C/I/A all High) and SSVC marks Technical Impact as total and Automatable as yes, which argues for high priority. However, SSVC Exploitation is 'none', there is no CISA KEV entry, and EPSS is only 0.06% (18th percentile), indicating low modeled probability of widespread exploitation. Publicly available exploit code exists (GitHub detection/PoC and an ACN advisory referencing a public PoC), which raises practical concern but is distinct from active exploitation. A key nuance: the CVSS vector encodes AC:L, yet the description requires 'certain GnuTLS configurations' plus a precise close_notify-then-cleartext timing sequence - real-world attack complexity is arguably higher than AC:L implies, and Exim instances built against OpenSSL or without the relevant GnuTLS setting may not be vulnerable. Net: patch promptly given the RCE potential and public PoC, but the current data does not support treating this as mass-exploited in the wild.

Exploit ScenarioDerived

An attacker connects to an internet-facing Exim SMTP server that uses the vulnerable GnuTLS configuration, begins a STARTTLS session and a message transfer using BDAT/CHUNKING, then sends a TLS close_notify in the middle of the body followed by one final cleartext byte on the same TCP connection. This triggers the use-after-free and heap corruption, which a crafted sequence can leverage toward arbitrary code execution as the Exim process; public PoC/detection code for this CVE already exists.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 23, 2026

Remote code execution in the Exim mail transfer agent (versions before 4.99.3) built against certain GnuTLS configurations arises from a use-after-free in the BDAT/CHUNKING body-parsing path. An unauthenticated network attacker who sends a TLS close_notify mid-body during a CHUNKING transfer followed by a trailing cleartext byte on the same TCP connection can corrupt the heap and, per the advisory, execute arbitrary code. Publicly available exploit code exists, but there is no CISA KEV listing and EPSS is very low (0.06%, 18th percentile), so this is best treated as a high-impact issue with no confirmed active exploitation yet.

RemediationAI

Upgrade to Exim 4.99.3 or later, which contains the fix; this is the primary and recommended action (Vendor-released patch: 4.99.3). Distribution users should apply their vendor's backported package - for example the Ubuntu update tracked in USN-8382-1 (https://ubuntu.com/security/notices/USN-8382-1). As a targeted compensating control until patching, because the flaw is specific to GnuTLS handling of the CHUNKING path you can either switch the TLS backend to OpenSSL if your build supports it, or disable the SMTP CHUNKING/BDAT capability (for example by not advertising the CHUNKING extension in your ACL/configuration) so the vulnerable BDAT body-parsing path is not reachable; the trade-off is that clients relying on CHUNKING will fall back to standard DATA transfer, which is generally acceptable but may slightly reduce throughput for large-message senders. Restricting SMTP exposure to trusted networks or fronting Exim with a filtering relay reduces exposure but does not eliminate the bug. Consult the Exim advisory (https://exim.org/static/doc/security/CVE-2026-45185.txt) and the Exim security wiki (https://code.exim.org/exim/wiki/wiki/EximSecurity) before changing TLS backends.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Exim is a widely used open-source SMTP mail transfer agent. The flaw is a CWE-416 use-after-free in the code that parses message bodies delivered via the SMTP CHUNKING extension (RFC 3030 BDAT commands), which sends data in length-prefixed chunks rather than dot-terminated DATA. The bug is specific to builds/configurations that use GnuTLS as the TLS backend: when a client issues a TLS close_notify alert in the middle of a BDAT body transfer and then writes a final cleartext byte on the same TCP socket, Exim continues to reference a buffer or connection object that has already been freed as part of TLS teardown, resulting in heap corruption that can be steered toward code execution.

Know when N A gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Network-reachable and unauthenticated (AV:N/PR:N), but the non-default GnuTLS config plus precise close_notify timing and heap-grooming for RCE justify AC:H; UAF can yield full compromise (C/I/A:H).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE CRITICAL

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
May 12, 2026 - 21:22 NVD
9.8 (CRITICAL)
CVE Published
May 12, 2026 - 00:00 nvd
UNKNOWN (no severity yet)
CVE Published
May 12, 2026 - 00:00 nvd
CRITICAL 9.8

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Exim mail transfer agents before version 4.99.3 contain a critical remote code execution vulnerability exploitable without authentication, with public exploit code available. Unpatched mail servers could allow attackers to compromise email infrastructure, disrupting business-critical communications and enabling data breach or persistent network access. Immediate patching to version 4.99.3 is necessary despite currently low exploitation metrics.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Prevalence
High
Exim is the most widely deployed MTA on internet-facing mail servers
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment NEWS Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

69
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

Vendor StatusVendor

SUSE

Severity: Critical

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy