Unrated severityCISA KEVNVD Advisory· Published Jan 29, 2020· Updated Oct 21, 2025
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.
Affected products
1- OpenSMTPD/OpenSMTPDdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
14- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/mitrevendor-advisoryx_refsource_FEDORA
- usn.ubuntu.com/4268-1/mitrevendor-advisoryx_refsource_UBUNTU
- www.debian.org/security/2020/dsa-4611mitrevendor-advisoryx_refsource_DEBIAN
- www.kb.cert.org/vuls/id/390745mitrethird-party-advisoryx_refsource_CERT-VN
- packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.htmlmitrex_refsource_MISC
- packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.htmlmitrex_refsource_MISC
- packetstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.htmlmitrex_refsource_MISC
- packetstormsecurity.com/files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.htmlmitrex_refsource_MISC
- packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.htmlmitrex_refsource_MISC
- seclists.org/fulldisclosure/2020/Jan/49mitremailing-listx_refsource_FULLDISC
- www.openwall.com/lists/oss-security/2020/01/28/3mitrex_refsource_MISC
- github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45mitrex_refsource_CONFIRM
- seclists.org/bugtraq/2020/Jan/51mitremailing-listx_refsource_BUGTRAQ
- www.openbsd.org/security.htmlmitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.