AEGLIX vulnerability intelligence
CVE-2020-7247
CRITICAL · CVSS 9.8 · Analyzed
Published: 2020-01-29 · Updated: 2026-06-17 · Source: NVD
Vulnerability overview
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.
Severity and scoring
- CVSS score
- 9.8 · CRITICAL
- CVSS version
- 3.1
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-755, CWE-78
CVSS measures technical severity; it does not establish whether this vulnerability is being exploited in your environment.
Known exploitation and remediation
Listed in CISA’s Known Exploited Vulnerabilities catalog.
- Affected product
- OpenBSD · OpenSMTPD
- Added to catalog
- 2022-03-25
- Required action
- Apply updates per vendor instructions.
- CISA remediation due date
- 2022-04-15
CISA deadlines apply to the organizations covered by its directives. Confirm your own remediation requirements.
Verify affected versions and patch availability in the vendor advisory before making changes.
Affected products and versions
cpe:2.3:a:openbsd:opensmtpd:6.6:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*
These are NVD CPE applicability entries. Some products depend on configuration conditions; consult the official record to confirm applicability.
Advisories and references
- http://packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.html
Exploit · Third Party Advisory · VDB Entry
- http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html
Exploit · Third Party Advisory · VDB Entry
- http://packetstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.html
Exploit · Third Party Advisory · VDB Entry
- http://packetstormsecurity.com/files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.html
Exploit · Third Party Advisory · VDB Entry
- http://packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.html
Broken Link · Third Party Advisory · VDB Entry
- http://seclists.org/fulldisclosure/2020/Jan/49
Exploit · Mailing List · Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/01/28/3
Exploit · Mailing List · Third Party Advisory
- https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45
Patch
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/
Mailing List · Third Party Advisory
- https://seclists.org/bugtraq/2020/Jan/51
Mailing List · Third Party Advisory
- https://usn.ubuntu.com/4268-1/
Third Party Advisory
- https://www.debian.org/security/2020/dsa-4611
Mailing List · Third Party Advisory
- https://www.kb.cert.org/vuls/id/390745
Third Party Advisory · US Government Resource
- https://www.openbsd.org/security.html
Patch · Vendor Advisory
- http://packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.html
Exploit · Third Party Advisory · VDB Entry
- http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html
Exploit · Third Party Advisory · VDB Entry
- http://packetstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.html
Exploit · Third Party Advisory · VDB Entry
- http://packetstormsecurity.com/files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.html
Exploit · Third Party Advisory · VDB Entry
- http://packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.html
Broken Link · Third Party Advisory · VDB Entry
- http://seclists.org/fulldisclosure/2020/Jan/49
Exploit · Mailing List · Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/01/28/3
Exploit · Mailing List · Third Party Advisory
- https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45
Patch
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/
Mailing List · Third Party Advisory
- https://seclists.org/bugtraq/2020/Jan/51
Mailing List · Third Party Advisory
- https://usn.ubuntu.com/4268-1/
Third Party Advisory
- https://www.debian.org/security/2020/dsa-4611
Mailing List · Third Party Advisory
- https://www.kb.cert.org/vuls/id/390745
Third Party Advisory · US Government Resource
- https://www.openbsd.org/security.html
Patch · Vendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-7247
US Government Resource