Vulnerabilities / CVE-2020-8794

critical

CVE-2020-8794

OpenSMTPD before 6.6.4 allows remote code execution because of an out- ...

Published Modified CWE 125
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (high).

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.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.13opensmtpd-extras6.6.4-r0
alpine 3.14opensmtpd-extras6.6.4-r0
alpine 3.15opensmtpd-extras6.6.4-r0
alpine 3.16opensmtpd-extras6.6.4-r0
alpine 3.17opensmtpd-extras6.6.4-r0
alpine 3.18opensmtpd-extras6.6.4-r0
alpine 3.19opensmtpd-extras6.6.4-r0
alpine 3.20opensmtpd-extras6.6.4-r0
debian 10opensmtpd6.0.3p1-5+deb10u4
debian 11opensmtpd6.6.4p1-1
debian 12opensmtpd6.6.4p1-1
debian 13opensmtpd6.6.4p1-1
Show all 33 entries from 33 sources
SourcePackageFixed in
alpine 3.13opensmtpd-extras6.6.4-r0
alpine 3.14opensmtpd-extras6.6.4-r0
alpine 3.15opensmtpd-extras6.6.4-r0
alpine 3.16opensmtpd-extras6.6.4-r0
alpine 3.17opensmtpd-extras6.6.4-r0
alpine 3.18opensmtpd-extras6.6.4-r0
alpine 3.19opensmtpd-extras6.6.4-r0
alpine 3.20opensmtpd-extras6.6.4-r0
debian 10opensmtpd6.0.3p1-5+deb10u4
debian 11opensmtpd6.6.4p1-1
debian 12opensmtpd6.6.4p1-1
debian 13opensmtpd6.6.4p1-1
debian 14opensmtpd6.6.4p1-1
debian 9opensmtpd6.0.2p1-2+deb9u3
echoopensmtpd6.6.4p1-1
ubuntu 16.04-ESMopensmtpd5.7.3p2-1ubuntu0.1~esm2
ubuntu 18.04opensmtpd6.0.3p1-1ubuntu0.2
ubuntu 18.04-ESMopensmtpd6.0.3p1-1ubuntu0.2
ubuntu 19.10opensmtpd6.0.3p1-6ubuntu0.2
ubuntu 20.04opensmtpd6.6.4p1-1
ubuntu 20.04-ESMopensmtpd6.6.4p1-1
ubuntu 20.10opensmtpd6.6.4p1-1
ubuntu 21.04opensmtpd6.6.4p1-1
ubuntu 21.10opensmtpd6.6.4p1-1
ubuntu 22.04opensmtpd6.6.4p1-1
ubuntu 22.10opensmtpd6.6.4p1-1
ubuntu 23.04opensmtpd6.6.4p1-1
ubuntu 23.10opensmtpd6.6.4p1-1
ubuntu 24.04opensmtpd6.6.4p1-1
ubuntu 24.10opensmtpd6.6.4p1-1
ubuntu 25.04opensmtpd6.6.4p1-1
ubuntu 25.10opensmtpd6.6.4p1-1
ubuntu 26.04opensmtpd6.6.4p1-1

References

All 14 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.