CVE-2020-8794

NameCVE-2020-8794
DescriptionOpenSMTPD 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-4634-1
Debian Bugs952453

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
opensmtpd (PTS)bullseye6.8.0p2-3fixed
bookworm6.8.0p2-4fixed
trixie, sid7.5.0p0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
opensmtpdsourcestretch6.0.2p1-2+deb9u3DSA-4634-1
opensmtpdsourcebuster6.0.3p1-5+deb10u4DSA-4634-1
opensmtpdsource(unstable)6.6.4p1-1952453

Notes

https://www.openwall.com/lists/oss-security/2020/02/24/5
https://poolp.org/posts/2020-01-30/opensmtpd-advisory-dissected/
https://www.openwall.com/lists/oss-security/2020/02/26/1

Search for package or bug name: Reporting problems