CVE Database · CVE-2020-7247
CVSS v3.1
9.8
EPSS
98.95%
Published
Jan 29, 2020
Modified
Nov 7, 2025
CISA Known Exploited Vulnerability
Added: 2022-03-25 · Due: 2022-04-15
Apply updates per vendor instructions.
Public PoC / Exploit (12)
All weaponized →Links to public security research (Exploit-DB, Nuclei, Trickest, GitHub) for defensive use only.
Description
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.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeaknesses (CWE)
Affected Products (6)
References (20)