SecurityContext

CVE-2020-8794: OpenSMTPD - Buffer Overflow

  • Cve: CVE-2020-8794
  • Name: OpenSMTPD - Buffer Overflow
  • 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.
  • Impact: Remote attackers can execute arbitrary code on the server, potentially leading to full system compromise.
  • Remediation: Update to version 6.6.4 or later.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.889
  • Epss percentile: 0.99783
  • Assignee: [email protected]
  • Published at: 2020-02-25T17:15:13Z
  • Age in days: 2464
  • Modified at: 2026-06-17T03:26:57Z
  • Patch available: yes
  • Public exploits total: 5
  • References total: 11
  • Products total: 4
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-8794
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-125Out-of-bounds Read

Public exploits

UrlSourceAdded date
http://packetstormsecurity.com/files/156633/OpenSMTPD-Out-Of-Bounds-Read-Local-Privilege-Escalation.htmlnvd2020-02-25
http://www.openwall.com/lists/oss-security/2020/02/26/1nvd2020-02-25
http://www.openwall.com/lists/oss-security/2021/05/04/7nvd2020-02-25
https://www.openwall.com/lists/oss-security/2020/02/24/5nvd2020-02-25
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/local/opensmtpd_oob_read_lpe.rbmetasploit2020-02-24

References

Same in every row:

  • Source: nvd
UrlTags
https://usn.ubuntu.com/4294-1/Patch, Third Party Advisory
http://packetstormsecurity.com/files/156633/OpenSMTPD-Out-Of-Bounds-Read-Local-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
http://www.openwall.com/lists/oss-security/2020/02/26/1Exploit, Mailing List, Third Party Advisory
http://www.openwall.com/lists/oss-security/2021/05/04/7Exploit, Mailing List, Third Party Advisory
https://www.openwall.com/lists/oss-security/2020/02/24/5Exploit, Mailing List, Third Party Advisory
http://seclists.org/fulldisclosure/2020/Feb/32Mailing List, Third Party Advisory
http://www.openwall.com/lists/oss-security/2020/03/01/1Mailing List, Third Party Advisory
http://www.openwall.com/lists/oss-security/2020/03/01/2Mailing List, Third Party Advisory
https://www.debian.org/security/2020/dsa-4634Third Party Advisory
https://www.openbsd.org/security.htmlThird Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
opensmtpd:opensmtpd< 6.6.4/v1/products/opensmtpd/opensmtpd
debian:debian_linux= 10.0, = 9.0/v1/products/debian/debian_linux
fedoraproject:fedora= 32, = 31/v1/products/fedoraproject/fedora
canonical:ubuntu_linux= 19.10, = 18.04/v1/products/canonical/ubuntu_linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 5
  • Public exploit first date: 2020-02-24
  • Remote: yes
  • Exposed hosts: 21216412
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports