Critical severity9.8CISA KEVNVD Advisory· Published Jan 29, 2020· Updated Jun 17, 2026
CVE-2020-7247
CVE-2020-7247
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
8cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*+ 1 more
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
- OpenSMTPD/OpenSMTPDdescription
Patches
Vulnerability mechanics
References
15- github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45nvdPatch
- www.openbsd.org/security.htmlnvdPatchVendor Advisory
- packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.htmlnvdExploitThird Party AdvisoryVDB Entry
- packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.htmlnvdExploitThird Party AdvisoryVDB Entry
- packetstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.htmlnvdExploitThird Party AdvisoryVDB Entry
- packetstormsecurity.com/files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.htmlnvdExploitThird Party AdvisoryVDB Entry
- seclists.org/fulldisclosure/2020/Jan/49nvdExploitMailing ListThird Party Advisory
- www.openwall.com/lists/oss-security/2020/01/28/3nvdExploitMailing ListThird Party Advisory
- packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.htmlnvdBroken LinkThird Party AdvisoryVDB Entry
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/nvdMailing ListThird Party Advisory
- seclists.org/bugtraq/2020/Jan/51nvdMailing ListThird Party Advisory
- usn.ubuntu.com/4268-1/nvdThird Party Advisory
- www.debian.org/security/2020/dsa-4611nvdMailing ListThird Party Advisory
- www.kb.cert.org/vuls/id/390745nvdThird Party AdvisoryUS Government Resource
- www.cisa.gov/known-exploited-vulnerabilities-catalognvdUS Government Resource
News mentions
0No linked articles in our index yet.