{"id":"UBUNTU-CVE-2018-6789","details":"An issue was discovered in the base64d function in the SMTP listener in Exim before 4.90.1. By sending a handcrafted message, a buffer overflow may happen. This can be used to execute code remotely.","modified":"2026-04-22T12:01:38.926141Z","published":"2018-02-07T00:00:00Z","related":["USN-3565-1"],"upstream":["CVE-2018-6789"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-6789"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2018/02/07/2"},{"type":"REPORT","url":"https://exim.org/static/doc/security/CVE-2018-6789.txt"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3565-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-6789"},{"type":"REPORT","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog"}],"affected":[{"package":{"name":"exim4","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/exim4@4.82-3ubuntu2.4?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.82-3ubuntu2.4"}]}],"versions":["4.80-7ubuntu3","4.80-7ubuntu4","4.80-9ubuntu1","4.80-9ubuntu2","4.82-3ubuntu1","4.82-3ubuntu2","4.82-3ubuntu2.1","4.82-3ubuntu2.2","4.82-3ubuntu2.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"exim4","binary_version":"4.82-3ubuntu2.4"},{"binary_name":"exim4-base","binary_version":"4.82-3ubuntu2.4"},{"binary_name":"exim4-config","binary_version":"4.82-3ubuntu2.4"},{"binary_name":"exim4-daemon-heavy","binary_version":"4.82-3ubuntu2.4"},{"binary_name":"exim4-daemon-light","binary_version":"4.82-3ubuntu2.4"},{"binary_name":"eximon4","binary_version":"4.82-3ubuntu2.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-6789.json"}},{"package":{"name":"exim4","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/exim4@4.86.2-2ubuntu2.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.86.2-2ubuntu2.3"}]}],"versions":["4.86-3ubuntu1","4.86-7ubuntu1","4.86-7ubuntu2","4.86-7ubuntu3","4.86.2-2ubuntu1","4.86.2-2ubuntu2","4.86.2-2ubuntu2.1","4.86.2-2ubuntu2.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"exim4","binary_version":"4.86.2-2ubuntu2.3"},{"binary_name":"exim4-base","binary_version":"4.86.2-2ubuntu2.3"},{"binary_name":"exim4-config","binary_version":"4.86.2-2ubuntu2.3"},{"binary_name":"exim4-daemon-heavy","binary_version":"4.86.2-2ubuntu2.3"},{"binary_name":"exim4-daemon-light","binary_version":"4.86.2-2ubuntu2.3"},{"binary_name":"eximon4","binary_version":"4.86.2-2ubuntu2.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-6789.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":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}