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.
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.94058}

epss

{'score': 0.94036}


Tue, 04 Feb 2025 21:15:00 +0000

Type Values Removed Values Added
Metrics kev

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

ssvc

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


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-07-30T01:45:50.129Z

Reserved: 2020-01-20T00:00:00.000Z

Link: CVE-2020-7247

cve-icon Vulnrichment

Updated: 2024-08-04T09:25:48.402Z

cve-icon NVD

Status : Analyzed

Published: 2020-01-29T16:15:12.897

Modified: 2025-04-03T19:43:07.237

Link: CVE-2020-7247

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.