Vulnerability database / CVE-2020-8794
CVE-2020-8794
CRITICAL 9.8 CVSS 3.1 OpenSMTPD before 6.6.4 allows remote code execution because of an out-of-bounds read in mta_io in mta_session.c for multi-line replies. Although this vulnerability affects the client side of OpenSMTPD, it is possible to attack a server because the server code launches the client code during bounce handling.
Published 25 Feb 2020
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-125 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
CRITICAL 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
HIGH 10.0
AV:N/AC:L/Au:N/C:C/I:C/A:C
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
opensmtpd
opensmtpdcpe:2.3:a:opensmtpd:opensmtpd:*:*:*:*:*:*:*:*
< 6.6.4
6.6.4 NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
= 18.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*
= 19.10
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
= 31
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
= 32
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
References
http://packetstormsecurity.com/files/156633/OpenSMTPD-Out-Of-Bounds-Read-Local-Privilege-Escalation.html · Exploit, Third Party Advisory, VDB Entry http://seclists.org/fulldisclosure/2020/Feb/32 · Mailing List, Third Party Advisory http://www.openwall.com/lists/oss-security/2020/02/26/1 · Exploit, Mailing List, Third Party Advisory http://www.openwall.com/lists/oss-security/2020/03/01/1 · Mailing List, Third Party Advisory http://www.openwall.com/lists/oss-security/2020/03/01/2 · Mailing List, Third Party Advisory http://www.openwall.com/lists/oss-security/2021/05/04/7 · Exploit, Mailing List, Third Party Advisory https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/ https://usn.ubuntu.com/4294-1/ · Patch, Third Party Advisory https://www.debian.org/security/2020/dsa-4634 · Third Party Advisory https://www.openbsd.org/security.html · Third Party Advisory https://www.openwall.com/lists/oss-security/2020/02/24/5 · Exploit, Mailing List, Third Party Advisory
History
25 Nov 2026 20:31 UTC · NVD: first stored (published 25 Feb 2020)