CVE-2020-7247
CriticalCVSS 9.8ExploitedCVE-2020-7247 Critical 9.8 · OpenBSD OpenSMTPD · exploited · details and fixes
- Severity
- Critical
- Score
- 9.8 · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Product
- OpenBSD OpenSMTPD
- Known as
- OpenSMTPD Remote Code Execution Vulnerability
- Published
- 2020-01-30
- Last modified
- 2026-06-17
- Exploitation
- Known to be exploited · listed on 2022-03-25
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.