Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2020-28018: Use-After-Free in Exim smtp_reset (OpenSSL builds)

Published May 6, 2021 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS56.5%99th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Exim
IdentifiersCVE-2020-28018CWE-416 · Use After Free

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Exposure surface

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.

VendorProductType
EximEximapplication
FAQ

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.
Activity feed

Recent activity

1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.