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 Details
- CVSS 3.1 Base Score: 9.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | alpine-linux-upgrade-opensmtpd | Aug 22, 2024 | Jan 29, 2020 | |
| Arch Linux | arch-linux-upgrade-latest | Jul 11, 2025 | Jan 29, 2020 | |
| Debian | debian-upgrade-opensmtpd | Jan 31, 2020 | Jan 29, 2020 | |
| Freebsd | freebsd-upgrade-package-opensmtpd | Jan 31, 2020 | Jan 29, 2020 | |
| Ubuntu | ubuntu-pro-upgrade-opensmtpdubuntu-upgrade-opensmtpd | Feb 6, 2020 | Jan 29, 2020 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub