Home / Opensmtpd / Opensmtpd / CVE-2020-8794
CVE-2020-8794: is it exploited, and which versions of Opensmtpd are affected and fixed?
CVE-2020-8794 is an out-of-bounds read vulnerability in Opensmtpd. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: opensmtpd before 6.6.4, ubuntu linux 18.04, ubuntu linux 19.10 and 4 more (NVD). Fixed in 6.6.4 (NVD). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:15 UTC.
What is CVE-2020-8794?
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.
From the CVE record by mitre, last updated August 4, 2024, 10:12 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| opensmtpd | opensmtpd | before 6.6.4 | application |
| canonical | ubuntu linux | 18.04 | operating system |
| canonical | ubuntu linux | 19.10 | operating system |
| fedoraproject | fedora | 31 | operating system |
| fedoraproject | fedora | 32 | operating system |
| debian | debian linux | 9.0 | operating system |
| debian | debian linux | 10.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 03:26 UTC.
How severe is CVE-2020-8794?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 10.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-8794 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 88.9% probability of exploitation activity in the next 30 days, percentile 99.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-125 Out-of-bounds Read
Where are the vendor advisories and references?
- https://www.openbsd.org/security.html x_refsource_MISC
- https://www.openwall.com/lists/oss-security/2020/02/24/5 x_refsource_MISC
- [oss-security] 20200226 Re: LPE and RCE in OpenSMTPD's default install (CVE-2020-8794) mailing-list, x_refsource_MLIST
- DSA-4634 vendor-advisory, x_refsource_DEBIAN
- 20200227 LPE and RCE in OpenSMTPD's default install (CVE-2020-8794) mailing-list, x_refsource_FULLDISC
- [oss-security] 20200301 Re: LPE and RCE in OpenSMTPD's default install (CVE-2020-8794) mailing-list, x_refsource_MLIST
- [oss-security] 20200301 Re: LPE and RCE in OpenSMTPD's default install (CVE-2020-8794) mailing-list, x_refsource_MLIST
- http://packetstormsecurity.com/files/156633/OpenSMTPD-Out-Of-Bounds-Read-Local-Privilege-Escalation.html x_refsource_MISC
- FEDORA-2020-b92d7083ca vendor-advisory, x_refsource_FEDORA
- USN-4294-1 vendor-advisory, x_refsource_UBUNTU
- [oss-security] 20210504 21Nails: Multiple vulnerabilities in Exim mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- February 7, 2020
- Published
- February 25, 2020, 16:38 UTC
- CVE record updated
- August 4, 2024, 10:12 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 03:26 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:15 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Opensmtpd?
- Apr 4, 2023CVE-2023-29323 Opensmtpd: n/a
- Dec 24, 2020CVE-2020-35679 Opensmtpd: memory leak
- Dec 24, 2020CVE-2020-35680 Opensmtpd: NULL pointer dereference (crash)
- Feb 25, 2020CVE-2020-8793 Opensmtpd: time-of-check time-of-use race condition
Questions about CVE-2020-8794
Is CVE-2020-8794 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 88.9% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Opensmtpd are affected by CVE-2020-8794?
opensmtpd before 6.6.4, ubuntu linux 18.04, ubuntu linux 19.10, fedora 31, fedora 32, debian linux 9.0 and 1 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2020-8794?
6.6.4, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-8794?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-8794?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.