CVE-2020-7247

Summary

CVECVE-2020-7247
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-01-29 16:15:00 UTC
Updated2023-11-07 03:25:00 UTC
Descriptionsmtp_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.

Risk And Classification

EPSS: 0.940760000 probability, percentile 0.999030000 (date 2026-04-01)

CISA KEV: Listed on 2022-03-25; due 2022-04-15; ransomware use Unknown

Problem Types: CWE-78 | CWE-755

CISA Known Exploited Vulnerability

VendorOpenBSD
ProductOpenSMTPD
NameOpenSMTPD Remote Code Execution Vulnerability
Required ActionApply updates per vendor instructions.
Noteshttps://nvd.nist.gov/vuln/detail/CVE-2020-7247

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 19.10 All All All
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Fedoraproject Fedora 32 All All All
Application Openbsd Opensmtpd 6.6 All All All
Application Openbsd Opensmtpd 6.6 All All All

References

ReferenceSourceLinkTags
Debian -- Security Information -- DSA-4611-1 opensmtpd DEBIAN www.debian.org Third Party Advisory
Full Disclosure: LPE and RCE in OpenSMTPD (CVE-2020-7247) FULLDISC seclists.org
OpenSMTPD 6.6.1 Local Privilege Escalation ≈ Packet Storm MISC packetstormsecurity.com
[SECURITY] Fedora 32 Update: opensmtpd-6.6.4p1-2.fc32 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
USN-4268-1: OpenSMTPD vulnerability | Ubuntu security notices UBUNTU usn.ubuntu.com
[SECURITY] Fedora 32 Update: opensmtpd-6.6.4p1-2.fc32 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
OpenSMTPD 6.6.2 Remote Code Execution ≈ Packet Storm MISC packetstormsecurity.com Third Party Advisory
OpenSMTPD MAIL FROM Remote Code Execution ≈ Packet Storm MISC packetstormsecurity.com
OpenBSD OpenSMTPD Privilege Escalation / Code Execution ≈ Packet Storm MISC packetstormsecurity.com Exploit, Third Party Advisory, VDB Entry
oss-security - LPE and RCE in OpenSMTPD (CVE-2020-7247) MISC www.openwall.com Exploit, Mailing List, Third Party Advisory
OpenBSD OpenSMTPD 6.6 Remote Code Execution ≈ Packet Storm MISC packetstormsecurity.com
VU#390745 - OpenSMTPD vulnerable to local privilege escalation and remote code execution CERT-VN www.kb.cert.org
OpenBSD Security CONFIRM www.openbsd.org Patch, Vendor Advisory
Bugtraq: [SECURITY] [DSA 4611-1] opensmtpd security update BUGTRAQ seclists.org Third Party Advisory
Fix a security vulnerability discovered by Qualys which can lead to a · openbsd/src@9dcfda0 · GitHub CONFIRM github.com Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
CISA Known Exploited Vulnerabilities catalog CISA www.cisa.gov kev

Legacy QID Mappings

  • 500482 Alpine Linux Security Update for opensmtpd
  • 505195 Alpine Linux Security Update for opensmtpd
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report