Home Vulnerabilities CVE-2020-7247 Vulnerability record
CVE-2020-7247 OpenSMTPD Remote Code Execution Vulnerability
Severity: CriticalExploitation: Exploitation confirmed CISA KEVWhat should I do?
This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run OpenSMTPD , fix it now.
CISA required action: Apply updates per vendor instructions.
US federal civilian agencies must remediate by Apr 15, 2022.
Patch status Official fix available since Sep 30, 2026
Apply the vendor's update to every affected system. Check the fixed-in versions below where known.
Basis: NVD patch reference
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.
Source: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.
Affected products Products affected by this vulnerability, with versions and the source of each entry Product Vendor Affected versions Source OpenSMTPD OpenBSD 6.6 KEV
Sources: KEV = CISA Known Exploited Vulnerabilities catalog.
Intelligence timelineDevelopments from the last 30 days, newest first.
No developments recorded for CVE-2020-7247 in the last 30 days.
3 earlier events are available with a subscription. See plans .
CoverageWe have not published a story about this vulnerability yet.
References nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-7247 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/OPH4QU4DNVHA7… 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 Key facts CVSS 9.8 (v3.1)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor OpenBSD Product OpenSMTPD Exploitation Exploitation confirmed CISA KEV Yes, added Mar 25, 2022 Ransomware Not known Weakness CWE-755, CWE-78 Published Jan 29, 2020 First seen here Sep 29, 2026 Last updated yesterday