{"id":"CVE-2020-8794","published":"2020-02-25T16:38:07Z","modified":"2024-08-04T10:12:10Z","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…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"OpenSMTPD before 6.6.4 contains an out-of-bounds read in the mta_io function in mta_session.c, which is triggered when processing multi-line replies on the client side of the software. An attacker can achieve remote code execution by sending crafted responses to a server, since the server launches the client code during bounce handling, and no authentication or user interaction is stated as required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:17:56Z"},"cvss":null,"epss":{"score":0.889,"percentile":0.99783,"date":"2026-11-23","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://www.openbsd.org/security.html","tags":["x_refsource_MISC"]},{"url":"https://www.openwall.com/lists/oss-security/2020/02/24/5","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2020/02/26/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.debian.org/security/2020/dsa-4634","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://seclists.org/fulldisclosure/2020/Feb/32","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://www.openwall.com/lists/oss-security/2020/03/01/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2020/03/01/2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://packetstormsecurity.com/files/156633/OpenSMTPD-Out-Of-Bounds-Read-Local-Privilege-Escalation.html","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://usn.ubuntu.com/4294-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.openwall.com/lists/oss-security/2021/05/04/7","tags":["mailing-list","x_refsource_MLIST"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2020-29642","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-29642","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":48140,"url":"https://www.exploit-db.com/exploits/48140","title":"OpenSMTPD < 6.6.3p1 - Local Privilege Escalation (LPE) / Remote Code Execution (RCE)","type":"remote","platform":"openbsd","date":"2020-02-26","verified":false,"provenance":"source"},{"id":48185,"url":"https://www.exploit-db.com/exploits/48185","title":"OpenSMTPD - OOB Read Local Privilege Escalation (LPE) (Metasploit)","type":"local","platform":"linux","date":"2020-03-09","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":2,"earliest":"2020-02-26"},"metasploit":[{"name":"OpenSMTPD OOB Read Local Privilege Escalation","module":"exploit/unix/local/opensmtpd_oob_read_lpe","type":"exploit","disclosureDate":"2020-02-24","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/local/opensmtpd_oob_read_lpe.rb"}],"first":{"date":"2020-02-24","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/local/opensmtpd_oob_read_lpe.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/156633/OpenSMTPD-Out-Of-Bounds-Read-Local-Privilege-Escalation.html"],"flow":[],"timeline":[{"date":"2020-02-24","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2020-02-26","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/local/opensmtpd_oob_read_lpe.rb","provenance":"source"},{"date":"2020-02-25","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2020-8794","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":25.0,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.96,"detail":"percentile 0.9978"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 Exploit-DB entries; 1 NVD exploit link; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}