cve.bz

CVE-2020-28019 (21Nails) exim exim: Improper Initialization

7.5 highEPSS 62%

Known as 21Nails

High (7.5) in exim exim. EPSS 62% estimated probability of exploitation activity in the next 30 days.

On this page
Exim 4 before 4.94.2 has Improper Initialization that can lead to recursion-based stack consumption or other consequences. This occurs because use of certain getc functions is mishandled when a client uses BDAT instead of DATA.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
62% (unchanged from 62% a week ago; 62% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-665 Improper Initialization
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-28019 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-28019?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-28019?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-28019 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
exim:eximfrom 4.88 before 4.94.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9exim44.89-2+deb9u8DLA-2650-1
Debian10exim44.92-8+deb10u6DSA-4912-1
Debian12, 13, 14exim44.94.2-1DEBIAN-CVE-2020-28019
Ubuntu18.04:LTSexim44.90.1-1ubuntu1.8UBUNTU-CVE-2020-28019 USN-4934-1
Ubuntu20.04:LTSexim44.93-13ubuntu1.5UBUNTU-CVE-2020-28019 USN-4934-1
SUSEPackage Hub 15 SP1exim4.94.2-bp151.2.4.1openSUSE-SU-2021:0753-1
SUSEPackage Hub 15 SP1libspf21.2.10-bp151.4.1openSUSE-SU-2021:0753-1
SUSEPackage Hub 15 SP2exim4.94.2-bp152.6.4.1openSUSE-SU-2021:0754-1
SUSEPackage Hub 15 SP2libspf21.2.10-bp152.5.1openSUSE-SU-2021:0754-1
openSUSELeap 15.2exim4.94.2-lp152.8.3.1openSUSE-SU-2021:0677-1
openSUSETumbleweedexim4.94.2-4.2openSUSE-SU-2024:10746-1
Alpinev3.13, v3.14, v3.15 and 9 moreexim4.94.2-r0ALPINE-CVE-2020-28019

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Emerging Threats Open ET EXPLOIT Exim Stack Exhaustion via BDAT Error Inbound (CVE-2020-28019) sid 2032903

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON