CISA list

As of , CVE-2020-7247 in OpenBSD OpenSMTPD is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

CVE-2020-7247

OpenBSD OpenSMTPD: Remote Code Execution. Exploited, and in our Patch this week group.

Our patch-first group

Patch this week

  • Metasploit module
  • EPSS 0.99
  • Verified Exploit-DB entry

CISA's required action

Apply updates per vendor instructions.

Patch infofixed versions and vendor advice

What to install

  • Affects OpenBSD OpenSMTPD.

The record's list of affected products gives no versions.

EPSS score
0.99
Higher than 99% of the CVEs EPSS scores.

EPSS estimates the chance of exploitation activity in the next 30 days.

Exploited
Yes CISA listed it on 25 March 2022
US federal deadline
15 April 2022 21 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Not known to CISA
EPSS when listed
0.94 on 25 March 2022 EPSS on the day CISA listed it.
Public exploit
1 Metasploit module and 3 Exploit-DB entries (3 verified)

Since listing

EPSS since listing

0.000.501.000.50: EPSS line for Patch this weekListed by CISAEPSS model v2023.03.01EPSS model v2025.03.14EPSS model v2026.06.1520232024202520260.000.501.00Listed by CISAEPSS model v2023.03.01EPSS model v2025.03.14EPSS model v2026.06.1520232025

EPSS for CVE-2020-7247 since CISA listed it, on the days its value to 2 decimals changed. EPSS scores by FIRST.

Show the numbers
FromEPSS
0.94
0.95
0.97
0.98
0.97
0.98
0.97
0.94
0.93
0.94
0.99

Timeline

What happened when

  1. The CVE record was published.
  2. Exploit-DB published an exploit (EDB-ID 47984).
  3. Exploit-DB published an exploit (EDB-ID 48038).
  4. Exploit-DB published an exploit (EDB-ID 48051).
  5. CISA added it to its list of exploited vulnerabilities.
  6. The US federal deadline to fix it.

CISA's required action

What CISA says to do

Apply updates per vendor instructions.

Read further: CISA's catalog

The flaw

What the flaw is

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's 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.

The CVE record's description, from mitre

CVE published
29 January 2020
Assigned by
mitre
CVSS
9.8 Critical (CVSS 3.1, from CISA-ADP)
CWE-755
Improper Handling of Exceptional Conditions
CWE-78
Improper Neutralization of Special Elements used in an OS Command
CISA SSVC, exploitation
active
CISA SSVC, automatable
yes
CISA SSVC, technical impact
total

Public exploits

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Metasploit
OpenSMTPD MAIL FROM Remote Code Execution
exploit module, rank excellent
Exploit-DB
OpenSMTPD 6.4.0 < 6.6.1 - Local Privilege Escalation + Remote Code Execution
EDB-ID 48051, verified by Exploit-DB, 11 February 2020
Exploit-DB
OpenSMTPD - MAIL FROM Remote Code Execution (Metasploit)
EDB-ID 48038, verified by Exploit-DB, 10 February 2020
Exploit-DB
OpenSMTPD 6.6.1 - Remote Code Execution
EDB-ID 47984, verified by Exploit-DB, 30 January 2020
Sources
  • CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
  • CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
  • EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)