cybersecurity Request an audit

Actively exploited vulnerability / CVE-2020-7247

OpenSMTPD: an attacker can take full control of your email server

This vulnerability lets an attacker on the internet run any command on the email server with full administrator rights, without needing a password. In practice they could read or change company email, install malicious software and use the server for further attacks. It is on the lists of vulnerabilities used in real attacks kept by both CISA (the US cybersecurity agency) and ENISA (the EU cybersecurity agency).

Identifier
CVE-2020-7247 · EUVD-2020-28374
Severity
Critical (9.8/10)
On the CISA list (US)
yes, since 25 March 2022
Deadline given to US federal agencies
15 April 2022
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
99.0% (FIRST's estimate for the next 30 days)

Does it concern you?

OpenSMTPD is software for sending and receiving email, included in the OpenBSD operating system and used in other products. You may have it if your company runs its own email server on OpenBSD or a similar system.

OpenSMTPD version 6.6, as shipped in OpenBSD 6.6, is affected, including with its default configuration. Ask whoever manages your email server which OpenSMTPD version it runs.

Affected products and versions

  • OpenBSD OpenSMTPD

What to do

Apply the security updates following the vendor's instructions, moving to the latest OpenSMTPD or OpenBSD release. Until then, ask your administrator to limit internet access to the email server.

The official description

The text below is the description from the public database.

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.

Sources

Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.