OpenBSD · OpenSMTPD
CVE-2020-7247
OpenSMTPD Remote Code Execution Vulnerability
CISA KEV record
- CISA date added
- 2022-03-25
- CISA due date
- 2022-04-15
- Known ransomware use
- Unknown
NVD risk context
9.8 CRITICAL
CVSS is a technical severity score. CISA’s KEV status remains the evidence that this vulnerability is known to be exploited.
Description
smtp_mailaddr in smtp_session.c in OpenSMTPD, as used in OpenBSD and other products, allows remote attackers to execute arbitrary commands as root via a crafted SMTP session.
Required action
Apply updates per vendor instructions.
NVD reference index
Vendor and remediation references
NVD has tagged these sources as vendor advisories, patches, mitigations, or release notes.
- https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45 ↗
- https://www.openbsd.org/security.html ↗
Other NVD references (13)
- http://packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.html ↗
- http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html ↗
- http://packetstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.html ↗
- http://packetstormsecurity.com/files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.html ↗
- http://packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.html ↗
- http://seclists.org/fulldisclosure/2020/Jan/49 ↗
- http://www.openwall.com/lists/oss-security/2020/01/28/3 ↗
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/ ↗
- https://seclists.org/bugtraq/2020/Jan/51 ↗
- https://usn.ubuntu.com/4268-1/ ↗
- https://www.debian.org/security/2020/dsa-4611 ↗
- https://www.kb.cert.org/vuls/id/390745 ↗
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-7247 ↗
MITRE CWE context
CWE classification
The product does not handle or incorrectly handles an exceptional condition.
View official MITRE CWE details ↗The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
View official MITRE CWE details ↗NVD record timing
NVD record timeline
These dates describe NVD’s record, not CISA’s KEV addition or remediation due date.
- NVD published
- Jan 29, 2020, 04:15 PM UTC When NVD first published this CVE record.
- NVD last updated
- Jun 17, 2026, 03:24 AM UTC When NVD last changed its analysis or record data.
Advanced: view the technical CVSS vector
This standardized code is intended for security tools and technical analysts. The plain-language risk summary above explains its main points.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA notes
https://nvd.nist.gov/vuln/detail/CVE-2020-7247