OpenSMTPD Remote Code Execution Vulnerability
Exploited in the wild. CISA added it to its Known Exploited Vulnerabilities list on 25 Mar 2022.
CVE-2020-7247Critical9.8
Chance of exploitation in the next 30 days
99%
EPSS score from FIRST
Black Shard's team can check your exposure to CVE-2020-7247 and take the fix off your plate.
smtp_mailaddr in smtp_session.c in OpenSMTPD 6.6, as used in OpenBSD 6.6 and other products, allows remote attackers to execute arbitrary commands as root via a crafted SMTP session, as demonstrated by shell metacharacters in a MAIL FROM field. This affects the "uncommented" default configuration. The issue exists because of an incorrect return value upon failure of input validation.
Updated 20 Nov 2026, 14:03 UTC, 32 of 36 sources answering.
Black Shard's team can check your exposure, take a fix off your plate or step in on a live incident.