CVE-2020-7247 · Known exploited vulnerability

CVE-2020-7247: OpenBSD OpenSMTPD Remote Code Execution

Actively exploited (CISA KEV)Ransomware use: UnknownPatch available

Summary

CVE-2020-7247 is a remote code execution vulnerability in OpenBSD OpenSMTPD, rated critical severity with a CVSS base score of 9.8.

CISA added it to the Known Exploited Vulnerabilities catalogue on 25 March 2022, which means there is reliable evidence that attackers have exploited it.

It can be exploited remotely over a network without needing an account.

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 catalogue description

Key facts

Affected product
OpenBSD · OpenSMTPD
CVSS severity
Critical9.8CVSS v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation likelihood, next 30 days)
98.97%Higher than 99.9% of all scored CVEs
Weakness (CWE)
CWE-755CWE-78
Added to CISA KEV
CISA due date (US federal agencies)
First published (NVD)
NVD status
Analyzed

CISA required action

Apply updates per vendor instructions.

What UK organisations should do

01 Patch or mitigate

  • The vendor has published a fix. Apply the update to every affected instance, starting with internet-facing systems.
  • CISA's required action: Apply updates per vendor instructions. CISA set a remediation due date of 15 April 2022 for US federal agencies; treat it as an indication of urgency rather than a deadline you can wait for.
  • If you cannot patch straight away, record the risk decision, limit access to the affected service and set a review date.

02 Check your exposure

  • Confirm whether you run OpenBSD OpenSMTPD anywhere, including systems managed by suppliers or cloud providers.
  • Build an inventory of affected versions across on-premises, cloud and supplier-managed systems.
  • Because this vulnerability is known to be exploited, check affected systems for signs of compromise before and after patching, not just for the missing update.

03 Monitor and respond

  • Review logs for the affected product for unusual behaviour and keep the indicators of compromise in vendor advisories under review.
  • If you find signs of compromise, follow your incident response plan. UK organisations can report significant incidents to the National Cyber Security Centre (NCSC), and personal data breaches may need to be reported to the ICO within 72 hours.

More from OpenBSD

  • CVE-2026-123158

    OpenSSH

    Unexpected Status Code or Return Value

    High8.1
All 2 OpenBSD vulnerabilities

Same weakness (CWE-755) in other products

  • CVE-2026-109619

    PHP Group · PHP

    Stale Internal Request-State

    High8.1
  • CVE-2026-109618

    PHP Group · PHP

    Memory Corruption

    Critical9.8
  • CVE-2022-44698

    Microsoft · Defender

    SmartScreen Security Feature Bypass

    RansomwareMedium5.4
  • CVE-2021-38003

    Google · Chromium V8

    Memory Corruption

    High8.8

Sources and references

Last updated . Summary and guidance are generated from CISA, NVD and FIRST data; always confirm details in the vendor advisory.