HackerFeeds
All CVEs

CVE-2020-7247

CRITICAL9.8
CISA KEV

Published 2020-01-29 · Updated 2026-06-17 · Source cve@mitre.org

Summary

CVE-2020-7247 is a critical-severity (CVSS 9.8) vulnerability in OpenBSD OpenSMTPD. CISA added it to the Known Exploited Vulnerabilities catalog on March 25, 2022, which means exploitation in the wild has been confirmed; US federal agencies had to remediate it by April 15, 2022. CISA does not currently list it as used in ransomware campaigns.

All 1 known-exploited OpenBSD vulnerabilities →

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.

CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CWE-78CWE-755CWE-755

CISA Known-Exploited Vulnerability

Product: OpenBSD — OpenSMTPD

Name: OpenSMTPD Remote Code Execution Vulnerability

Date added: 2022-03-25 · Due: 2022-04-15

Required action: Apply updates per vendor instructions.

View on NVD