CVE-2020-7247 · Published 29 Jan 2020
OpenBSD OpenSMTPD
On CISA's KEV list 786 days after disclosure; 13 public exploits.
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.
CISA required action (federal due date 15 Apr 2022): Apply updates per vendor instructions.
Signals
- KEV, exploited in the wild
- yes, added 25 Mar 2022, due 15 Apr 2022
- EPSS, 30-day forecast
- 99%, 100th percentile (as of 18 Nov 2026)
- CVSS, NVD
- not stated
- Internet exposure
- not stated
KEV is an observation, EPSS a forecast; KEV outranks it. No score published by NVD.
Timeline 29 Jan 2020 to today
- Metasploit
- Disclosedsame day
- First PoC+1 d
- KEV+785 d
785 days from the first proof of concept to the KEV listing
Indicators none tied yet
No threat feed has tied an indicator to this CVE yet. Checked every six hours.
On the wire 0 dispatches
No dispatch on our wire has named this CVE yet.
Public exploit code 13 known · links only
GitHub PoCs 9Metasploit 1Exploit-DB 3
GitHub PoCs, by trust then stars9
- bytescrappers/CVE-2020-7247Not checked
first seen by skopnix 18 Oct 2026
- f4T1H21/CVE-2020-7247Not checked
first seen by skopnix 18 Oct 2026
- FiroSolutions/cve-2020-7247-exploitNot checked
first seen by skopnix 18 Oct 2026
- gatariee/CVE-2020-7247Not checked
first seen by skopnix 18 Oct 2026
- minhluannguyen/CVE-2020-7247-reproducerNot checked
first seen by skopnix 18 Oct 2026
- QTranspose/CVE-2020-7247-exploitNot checked
first seen by skopnix 18 Oct 2026
- r0lh/CVE-2020-7247Not checked
first seen by skopnix 18 Oct 2026
- SimonSchoeni/CVE-2020-7247-POCNot checked
first seen by skopnix 18 Oct 2026
Show 1 more
- superzerosec/cve-2020-7247Not checked
first seen by skopnix 18 Oct 2026
Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.
Metasploit1
This module exploits a command injection in the MAIL FROM field during SMTP interaction with OpenSMTPD to execute a command as the root user.
ruby · first seen by skopnix 18 Oct 2026
Exploit-DB3
created 30 Jan 2020
created 10 Feb 2020
created 11 Feb 2020
Nuclei detection templates1
OpenSMTPD versions 6.4.0 - 6.6.1 are susceptible to remote code execution. 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.
yaml · first seen by skopnix 18 Oct 2026
A Nuclei template is a scanner check that detects the flaw. It is not an exploit and is not counted as one.
References
Watch this one?
KEV additions reach Telegram and the KEV-only RSS as they land.