{"id":"UBUNTU-CVE-2020-8794","details":"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.","modified":"2026-04-28T16:28:56.962692Z","published":"2020-02-25T17:15:00Z","related":["USN-4294-1","USN-4875-1"],"upstream":["CVE-2020-8794"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-8794"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4294-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4875-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-8794"}],"affected":[{"package":{"name":"opensmtpd","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/opensmtpd@5.7.3p2-1ubuntu0.1~esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.7.3p2-1ubuntu0.1~esm2"}]}],"versions":["5.4.2p1-4","5.7.3p1-1","5.7.3p2-1","5.7.3p2-1ubuntu0.1~esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"opensmtpd","binary_version":"5.7.3p2-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8794.json"}},{"package":{"name":"opensmtpd","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/opensmtpd@6.0.3p1-1ubuntu0.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.3p1-1ubuntu0.2"}]}],"versions":["6.0.2p1-2build1","6.0.3p1-1","6.0.3p1-1build1","6.0.3p1-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"6.0.3p1-1ubuntu0.2","binary_name":"opensmtpd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8794.json"}},{"package":{"name":"opensmtpd","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/opensmtpd@6.6.4p1-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.6.4p1-1"}]}],"versions":["6.0.3p1-6","6.0.3p1-6build1","6.6.1p1-1","6.6.1p1-3","6.6.1p1-4","6.6.1p1-5","6.6.2p1-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"opensmtpd","binary_version":"6.6.4p1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8794.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"high"}]}