{"id":"CVE-2020-8794","url":"https://www.cyber-defence.io/tools/cve/CVE-2020-8794","generatedAt":"2026-11-05T02:15:28.162Z","title":"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.","description":"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":"2020-02-25T17:15:13.000Z","lastModified":"2026-06-17T03:26:57.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-125"],"affected":["opensmtpd/opensmtpd","canonical/ubuntu linux","fedoraproject/fedora","debian/debian linux"],"epss":{"score":0.889,"percentile":0.99778,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":2,"verified":true,"firstPublished":"2020-02-26","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":48185,"kind":"exploit","title":"OpenSMTPD - OOB Read Local Privilege Escalation (Metasploit)","url":"https://www.exploit-db.com/exploits/48185","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/48185.rb","file":"exploits/linux/local/48185.rb","published":"2020-03-09","added":"2020-03-09","updated":"2020-03-09","author":"Metasploit","type":"local","platform":"linux","port":null,"verified":true,"codes":["CVE-2020-8794"],"tags":"Metasploit Framework (MSF)","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/local/opensmtpd_oob_read_lpe.rb"},{"edbId":48140,"kind":"exploit","title":"OpenSMTPD < 6.6.3p1 - Local Privilege Escalation + Remote Code Execution","url":"https://www.exploit-db.com/exploits/48140","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/openbsd/remote/48140.c","file":"exploits/openbsd/remote/48140.c","published":"2020-02-26","added":"2020-02-26","updated":"2020-02-26","author":"Qualys Corporation","type":"remote","platform":"openbsd","port":null,"verified":false,"codes":["CVE-2020-8794"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://www.qualys.com/2020/02/24/cve-2020-8794/lpe-rce-opensmtpd-default-install-exploit.c"}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 88.9%, higher than 100% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://packetstormsecurity.com/files/156633/OpenSMTPD-Out-Of-Bounds-Read-Local-Privilege-Escalation.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://seclists.org/fulldisclosure/2020/Feb/32","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2020/02/26/1","tags":["Exploit","Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2020/03/01/1","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2020/03/01/2","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2021/05/04/7","tags":["Exploit","Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/","source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/4294-1/","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.debian.org/security/2020/dsa-4634","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.openbsd.org/security.html","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.openwall.com/lists/oss-security/2020/02/24/5","tags":["Exploit","Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/156633/OpenSMTPD-Out-Of-Bounds-Read-Local-Privilege-Escalation.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2020/Feb/32","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2020/02/26/1","tags":["Exploit","Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2020/03/01/1","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2020/03/01/2","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2021/05/04/7","tags":["Exploit","Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/4294-1/","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.debian.org/security/2020/dsa-4634","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.openbsd.org/security.html","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.openwall.com/lists/oss-security/2020/02/24/5","tags":["Exploit","Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-8794","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}