CVE-2020-7247
CRITICAL9.8⚠ KEVEPSS 94.1%opensmtpd - security update
Published: 1/29/2020Modified: 4/28/2026Added to CISA KEV: 3/25/2022
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.
Affected packages (3)
- Alpine/opensmtpdfrom 0, < 6.6.2p1-r0
- Debian/opensmtpdfrom 0, < 6.6.2p1-1
- Debian/opensmtpdfrom 0, < 6.0.2p1-2+deb9u2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |