← CVE Radar
CVE-2020-7247OpenSMTPD Remote Code Execution Vulnerability
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.
9.8 CRITICALEPSS 98.97%⚡ Known Exploited (CISA KEV)NVD: Analyzed
Overview
Severity
| Score | Severity | Version | Vector String |
|---|---|---|---|
| 9.8 | CRITICAL | 3.1NVD | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 10.0 | HIGH | 2.0NVD | AV:N/AC:L/Au:N/C:C/I:C/A:C |
CISA required action
⚡ Known exploited · remediation due Apr 15, 2022
Apply updates per vendor instructions.
Details
- CVE ID
- CVE-2020-7247
- Status
- Analyzed
- Assigner (CNA)
- mitre
- Published
- Jan 29, 2020
- Last modified
- 2026-06-17 03:24 UTC
Affected Products
From NVD CPE configurations.
openbsdopensmtpd1 version range
- 6.6
debiandebian linux2 version ranges
- 9.0
- 10.0
fedoraprojectfedora1 version range
- 32
canonicalubuntu linux2 version ranges
- 18.04
- 19.10
References
- packetstormsecurity.com http://packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.html
- packetstormsecurity.com http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html
- packetstormsecurity.com http://packetstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.html
- packetstormsecurity.com http://packetstormsecurity.com/files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.html
- packetstormsecurity.com http://packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.html
- seclists.org http://seclists.org/fulldisclosure/2020/Jan/49
- openwall.com http://www.openwall.com/lists/oss-security/2020/01/28/3
- github.com https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/
- seclists.org https://seclists.org/bugtraq/2020/Jan/51
- usn.ubuntu.com https://usn.ubuntu.com/4268-1/
- debian.org https://www.debian.org/security/2020/dsa-4611
- kb.cert.org https://www.kb.cert.org/vuls/id/390745
- openbsd.org https://www.openbsd.org/security.html
- cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-7247