CVE-2020-7247

Published Jan 29, 2020 CVSS 3.1 · 9.8 Critical EPSS 99.0% KEV · Listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-4611-1 opensmtpd security update
Ubuntu USN Ubuntu USN USN-4268-1 OpenSMTPD vulnerability
Ubuntu USN Ubuntu USN USN-4875-1 OpenSMTPD vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.94058}

epss

{'score': 0.94036}

Type Values Removed Values Added
Metrics kev

{'dateAdded': '2022-03-25'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'active', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 21, 2025, 11:35 PM
Reserved
Jan 20, 2020, 12:00 AM
Status
Analyzed
Published
Jan 29, 2020, 4:15 PM
Modified
Jun 17, 2026, 3:24 AM