CVE-2020-7247

Attackers are using this Critical severity Published January 29, 2020 · updated June 17, 2026

Attackers are using this.

CISA added it to its list of vulnerabilities being exploited on March 25, 2022.

CISA's advice: Apply updates per vendor instructions.

What it is

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.

What it affects, and the version that fixes it

  • Debian No fixed version listed yet.
  • Ubuntu No fixed version listed yet.
  • Fedora No fixed version listed yet.
  • OpenBSD OpenSMTPD No fixed version listed yet.

The vendor's advice · The official record (NVD) · CVE.org