cve.bz

CVE-2020-8794 Out-of-bounds Read

9.8 criticalExploitEPSS 89%Fix available

Critical (9.8). EPSS 89% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
89% (unchanged from 89% a week ago; 89% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-8794 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-8794?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-8794?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-8794 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
opensmtpd:opensmtpdbefore 6.6.4
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.10
fedoraproject:fedora31
fedoraproject:fedora32
debian:debian_linux9.0
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9opensmtpd6.0.2p1-2+deb9u3DSA-4634-1
Debian10opensmtpd6.0.3p1-5+deb10u4DSA-4634-1
Debian12, 13, 14opensmtpd6.6.4p1-1DEBIAN-CVE-2020-8794
Ubuntu18.04:LTSopensmtpd6.0.3p1-1ubuntu0.2UBUNTU-CVE-2020-8794 USN-4294-1
Ubuntu20.04:LTSopensmtpd6.6.4p1-1UBUNTU-CVE-2020-8794
UbuntuPro:14.04:LTSopensmtpd5.4.1p1-1ubuntu0.1~esm1USN-4875-1
UbuntuPro:16.04:LTSopensmtpd5.7.3p2-1ubuntu0.1~esm2UBUNTU-CVE-2020-8794 USN-4875-1
Alpinev3.13, v3.14, v3.15 and 5 moreopensmtpd-extras6.6.4-r0ALPINE-CVE-2020-8794

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON