CVE-2020-8794
A public proof of concept exists; no exploitation attested.
- Published2020-02-25
- Fixed in6.6.4
- WeaknessCWE-125
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2020-02-26Exploit-DB entryExploit-DB
Observed activity
isMalicious corpus · updated 2026-11-04 09:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2020-8794?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2020-8794?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 6.6 | < 6.6.4 | 6.6.4 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 18.4 | = 18.04 | no fix published | NVD |
| 19.10 | = 19.10 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | = 9.0 | no fix published | NVD |
| 10.0 | = 10.0 | no fix published | NVD |
1 more product in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- opensmtpdUbuntu:Pro:16.04:LTSall versions · fixed in 5.7.3p2-1ubuntu0.1~esm2
- opensmtpdUbuntu:Pro:14.04:LTSall versions · fixed in 5.4.1p1-1ubuntu0.1~esm1
- opensmtpdUbuntu:20.04:LTSall versions · fixed in 6.6.4p1-1
- opensmtpdUbuntu:18.04:LTSall versions · fixed in 6.0.3p1-1ubuntu0.2
- opensmtpdDebian:14all versions · fixed in 6.6.4p1-1
- opensmtpdDebian:13all versions · fixed in 6.6.4p1-1
- opensmtpdDebian:12all versions · fixed in 6.6.4p1-1
- opensmtpdDebian:10all versions · fixed in 6.0.3p1-5+deb10u4
10 more package ranges on OSV.dev
Vendor advisories
- CVE-2020-8794 Red Hat Product Security
opensmtpd: An out-of-bounds read could lead to remote code execution
Fix
- Update Opensmtpd to 6.6.4
Advisories and patches
- usn.ubuntu.comPatch
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof-of-concept repositories
- none listed PoC-in-GitHub
- Metasploit modules
- 1 moduleexploit/unix/local/opensmtpd_oob_read_lperank: averageModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
Sources
- NVDCVSS 3.19.8read 2026-10-23
- NVDCVSS 2.010read 2026-10-23
- NVDweakness (CWE)CWE-125read 2026-10-23
- FIRST EPSSEPSS score88.9 %read 2026-11-03
- Exploit-DBdetectionread 2026-11-03
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
Identifiers
- EUVD-2020-29642same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- exploit/unix/local/opensmtpd_oob_read_lpeexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- DSA-4634-1advisory covering several CVEsDebian · LicenseRef-unstated
- USN-4294-1advisory covering several CVEsUbuntu
- USN-4875-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2020-02-25
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2020-8794?
Is CVE-2020-8794 actively exploited?
What is the CVSS score for CVE-2020-8794?
Running opensmtpd? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- Metasploit Framework · BSD-3-Clause
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0