Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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.

74
This week
CRITICAL 9.8REMOTEWATCHLISTUPGRADEMITIGATEMITIGATE

CVE-2020-8794 is a critical-severity flaw (CVSS 9.8) affecting opensmtpd, ubuntu linux, fedora. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • EPSS top 1%: very likely to be exploited
  • Public exploit reference
  • Remotely exploitable, no login, no user action
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance88.9% (top 1%)
CISA exploited listNo
WeaknessCWE-125
Published2020-02-25
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: canonical · debian · fedoraproject · opensmtpd

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

opensmtpd opensmtpd UPGRADE
Affected: < 6.6.4
Fixed in: 6.6.4
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy opensmtpd || rpm -q opensmtpd || opensmtpd --version
2. UPGRADE to 6.6.4 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade opensmtpd
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade opensmtpd
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
canonical ubuntu linux MITIGATE
Affected: 18.04 · 19.10
Fixed in: no fixed release known
Safe to downgrade to: a release before 18.04
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
fedoraproject fedora MITIGATE
Affected: 31 · 32
Fixed in: no fixed release known
Safe to downgrade to: a release before 31
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
debian debian linux MITIGATE
Affected: 9.0 · 10.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 9.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Fedora 46 · keepalived · FIXED · 2.4.3-1.fc46 · FEDORA-2026-0c83a077d7 · source
sudo dnf upgrade --advisory=FEDORA-2026-0c83a077d7
Fedora ELN · dracut · FIXED · 111-5.eln159 · FEDORA-2026-982407d9e3 · source
sudo dnf upgrade --advisory=FEDORA-2026-982407d9e3
Ubuntu 20.04 · opensmtpd · FIXED · 6.6.4p1-1
sudo apt update && sudo apt install --only-upgrade opensmtpd dpkg --compare-versions "$(dpkg-query -W -f='${Version}' opensmtpd)" ge "6.6.4p1-1" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 22.04 · opensmtpd · FIXED · 6.6.4p1-1
sudo apt update && sudo apt install --only-upgrade opensmtpd dpkg --compare-versions "$(dpkg-query -W -f='${Version}' opensmtpd)" ge "6.6.4p1-1" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 24.04 · opensmtpd · FIXED · 6.6.4p1-1
sudo apt update && sudo apt install --only-upgrade opensmtpd dpkg --compare-versions "$(dpkg-query -W -f='${Version}' opensmtpd)" ge "6.6.4p1-1" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 24.10 · opensmtpd · FIXED · 6.6.4p1-1
sudo apt update && sudo apt install --only-upgrade opensmtpd dpkg --compare-versions "$(dpkg-query -W -f='${Version}' opensmtpd)" ge "6.6.4p1-1" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 25.04 · opensmtpd · FIXED · 6.6.4p1-1
sudo apt update && sudo apt install --only-upgrade opensmtpd dpkg --compare-versions "$(dpkg-query -W -f='${Version}' opensmtpd)" ge "6.6.4p1-1" && echo PATCHED || echo STILL-VULNERABLE
Debian 12 · opensmtpd · FIXED · 6.6.4p1-1
sudo apt update && sudo apt install --only-upgrade opensmtpd dpkg --compare-versions "$(dpkg-query -W -f='${Version}' opensmtpd)" ge "6.6.4p1-1" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · opensmtpd · FIXED · 6.6.4p1-1
sudo apt update && sudo apt install --only-upgrade opensmtpd dpkg --compare-versions "$(dpkg-query -W -f='${Version}' opensmtpd)" ge "6.6.4p1-1" && echo PATCHED || echo STILL-VULNERABLE
Alpine 3.20 · opensmtpd-extras · FIXED · opensmtpd-extras-6.6.4-r0
apk add --upgrade opensmtpd-extras apk info -v opensmtpd-extras

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2020-8794?

opensmtpd: upgrade to 6.6.4; ubuntu linux: mitigate or apply the listed mitigation; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2020-8794 being exploited?

CVE-2020-8794 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2020-8794 affect?

CVE-2020-8794 affects opensmtpd, ubuntu linux, fedora. Severity is critical (CVSS 9.8). 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 beca

How urgent is CVE-2020-8794?

Priority 74/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist

Software pages

Ubuntu vulnerabilities · Debian vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.