cbcvebase.
CVE-2020-28019
published 2021-05-06

CVE-2020-28019: 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…

PriorityP358high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
61.06%
99.0th percentile
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.

Affected

2 ranges
VendorProductVersion rangeFixed in
debianexim4< exim4 4.94.2-1 (bookworm)exim4 4.94.2-1 (bookworm)
eximexim>= 4.88 < 4.94.24.94.2

Detection & IOCsextracted from sources · hover to see the quote

snort
alert smtp any any -> [$HOME_NET,$HTTP_SERVERS,$SMTP_SERVERS] any (msg:"ET EXPLOIT Exim Stack Exhaustion via BDAT Error Inbound (CVE-2020-28019)"; flow:established,to_server; content:"BDAT|20|"; pcre:"/^[^\r\n]{50,}/R"; content:"BDAT|20|"; distance:0; fast_pattern; reference:url,www.qualys.com/2021/05/04/21nails/21nails.txt; reference:cve,2020-28019; classtype:attempted-admin; sid:2032903; rev:1; metadata:attack_target SMTP_Server, created_at 2021_05_04, cve CVE_2020_28019, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2021_05_04;)
  • Exploit traffic targets SMTP servers and uses the BDAT command (instead of DATA) with an oversized argument line (50+ non-CRLF characters). Detect by matching the literal bytes 'BDAT ' (BDAT|20|) on an established inbound SMTP connection.
  • The vulnerability is triggered when a client uses BDAT instead of DATA, causing mishandling of certain getc functions leading to recursion-based stack consumption.
  • ·Vulnerable versions are Exim 4 before 4.94.2. Fixed version is 4.94.2 (Debian packages: 4.94.2-1 across bookworm, bullseye, forky, sid, trixie).

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.