nday
CVE-2020-8794

OpenSMTPD before 6.6.4 allows remote code execution because of an out-of-bounds read in mta_io in…Title composed by nday; the CVE record has none.

A public PoC appeared 1 day after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 2 of 4 PoC sources: exploitdb and metasploit. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

out-of-bounds read
CWE-125, stated by NVD's analysts
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
Metasploit
Metasploit modules exploit/unix/local/opensmtpd_oob_read_lpe
Exploit-DB
Exploit-DB entries 48140, 48185
stage
POC
disclosed
disclosure → PoC
T+1d POC is date-only
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2020-02-25T16:38Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2020-02-26, date only +1 more
metasploit
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Event log

+DISdisclosed

CVE record published by mitre.

src cvelist · nday , bulk import · raw
{
  "id": 64505,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2020-8794",
  "occurred_at": "2020-02-25T16:38:07Z",
  "observed_at": "2026-11-12T21:04:12.541754Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2020-02-25T16:38:07.000Z",
    "assigner_short_name": "mitre"
  }
}
2020-02-26date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “OpenSMTPD < 6.6.3p1 - Local Privilege Escalation + Remote Code Execution” (EDB-48140).

src exploitdb 48140 · nday , bulk import · raw
{
  "id": 28330,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/48140",
  "occurred_at": "2020-02-26T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "48140",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/48140",
    "file": "exploits/openbsd/remote/48140.c",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "OpenSMTPD < 6.6.3p1 - Local Privilege Escalation + Remote Code Execution",
    "author": "Qualys Corporation",
    "edb_id": 48140,
    "cve_ids": [
      "CVE-2020-8794"
    ],
    "platform": "openbsd",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2020-02-26",
    "date_updated": "2020-02-26",
    "date_published": "2020-02-26"
  }
}
2020-03-09date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “OpenSMTPD - OOB Read Local Privilege Escalation (Metasploit)” (EDB-48185). Verified by Exploit-DB.

src exploitdb 48185 · nday , bulk import · raw
{
  "id": 24330,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/48185",
  "occurred_at": "2020-03-09T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "48185",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/48185",
    "file": "exploits/linux/local/48185.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)"
    ],
    "type": "local",
    "title": "OpenSMTPD - OOB Read Local Privilege Escalation (Metasploit)",
    "author": "Metasploit",
    "edb_id": 48185,
    "cve_ids": [
      "CVE-2020-8794"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2020-03-09",
    "date_updated": "2020-03-09",
    "date_published": "2020-03-09"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/unix/local/opensmtpd_oob_read_lpe (OpenSMTPD OOB Read Local Privilege Escalation). The source gives no release time for the module.

src metasploit exploit/unix/local/opensmtpd_oob_read_lpe · nday , bulk import · raw
{
  "id": 51707,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/local/opensmtpd_oob_read_lpe.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/unix/local/opensmtpd_oob_read_lpe",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/local/opensmtpd_oob_read_lpe.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/unix/local/opensmtpd_oob_read_lpe.rb",
    "rank": 200,
    "check": true,
    "title": "OpenSMTPD OOB Read Local Privilege Escalation",
    "cve_ids": [
      "CVE-2020-8794"
    ],
    "fullname": "exploit/unix/local/opensmtpd_oob_read_lpe",
    "rank_name": "average",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-03-11 21:31:08 +0000",
    "vuln_disclosure_date": "2020-02-24"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.