VULNERABILITY INTELLIGENCE

CVE-2020-7247

CVSS score9.8 CRITICAL
EPSS probability98.97%
CISA KEVKnown exploited vulnerability
Published2020-01-29
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Known Exploited Vulnerability

OpenSMTPD Remote Code Execution Vulnerability

Vendor / product: OpenBSD / OpenSMTPD

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.

Weakness classification

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-755: Improper Handling of Exceptional Conditions

Primary references