CVE-2020-7247
OpenSMTPD Remote Code Execution Vulnerability
OpenBSD OpenSMTPDNetwork & edge
CVSS
9.8CriticalExploit odds (EPSS)99.0%Chance of exploitation activity in the next 30 days, higher than 99.9% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
CISA required actionApply updates per vendor instructions. CISA KEV
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Timeline
- 28 Jan 2020Exploit code publicMetasploit
- 29 Jan 2020, 15:53 UTCPublishedCVE List
- 25 Mar 2022Added to CISA KEVCISA KEV
Public exploit code and templates 5
- Exploit moduleOpenSMTPD MAIL FROM Remote Code Execution 28 Jan 2020Metasploit
- Remote exploitOpenSMTPD - MAIL FROM Remote Code Execution (Metasploit) 10 Feb 2020Exploit-DB
- Remote exploitOpenSMTPD 6.4.0 < 6.6.1 - Local Privilege Escalation + Remote Code Execution 11 Feb 2020Exploit-DB
- Remote exploitOpenSMTPD 6.6.1 - Remote Code Execution 30 Jan 2020Exploit-DB
- Scanner templateOpenSMTPD 6.4.0-6.6.1 - Remote Code ExecutionNuclei
Listed so defenders can prioritize. Threatline links to the source and does not host exploit code.
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.
Text from CVE List
Affected versions 1
- n/aaffected: n/aCVE List
References 9
- github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45Fixvia CVE List
- openbsd.org/security.htmlAdvisoryvia CVE List
- debian.org/security/2020/dsa-4611Advisoryvia CVE List
- kb.cert.org/vuls/id/390745Advisoryvia CVE List
- usn.ubuntu.com/4268-1/Advisoryvia CVE List
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/Advisoryvia CVE List
- nvd.nist.gov/vuln/detail/CVE-2020-7247Referencevia CISA KEV
- seclists.org/bugtraq/2020/Jan/51Referencevia CVE List
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-7247Referencevia CVE List