CVE-2020-28018: Use-After-Free in Exim smtp_reset (OpenSSL builds)
- Vendor
- Exim
A use-after-free vulnerability exists in Exim versions prior to 4.94.2, specifically in the smtp_reset function. This issue can be triggered in certain scenarios, particularly in builds that use OpenSSL. The vulnerability arises when memory is freed but later accessed, potentially leading to undefined behavior.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code, crash the Exim process, or potentially escalate privileges, depending on the context in which Exim is running and the attacker's ability to control memory layout.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict access to the Exim service to trusted networks, monitor for abnormal process behavior, and consider disabling or limiting features that rely on OpenSSL until the patch can be applied.
Remediation
Patch, then assume compromise.
Upgrade Exim to version 4.94.2 or later, where the vulnerability has been addressed and the use-after-free condition in smtp_reset has been fixed.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2020-28018 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2020-28018 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2020-28018?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2020-28018, the earliest disclosed May 18, 2021.
- Is there a patch for CVE-2020-28018?
- Upgrade Exim to version 4.94.2 or later, where the vulnerability has been addressed and the use-after-free condition in smtp_reset has been fixed.
- What products are affected by CVE-2020-28018?
- Exim.
- How severe is CVE-2020-28018?
- CVE-2020-28018 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 56.5% (99th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.