CVE-2020-7247
CRIT 9.8 KEV
Summary
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.
Key facts
- Vendor: openbsd
- CVSS 3.1: 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
- EPSS (30-day exploitation probability): 98.97%
- Listed in CISA KEV since 2022-03-25; federal due date 2022-04-15
- Published: 2020-01-29
- Last modified: 2026-06-17
- Weakness: CWE-78, CWE-755
Data aggregated from NVD, CISA KEV, FIRST EPSS and OSV.dev. Updated 2026-12-02.
Get alerts and watchlists for vulnerabilities like this · Browse all vulnerabilities