{"id":"UBUNTU-CVE-2017-16944","details":"The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to cause a denial of service (infinite loop and stack exhaustion) via vectors involving BDAT commands and an improper check for a '.' character signifying the end of the content, related to the bdat_getc function.","modified":"2026-01-30T02:52:59.698239Z","published":"2017-11-27T00:00:00Z","withdrawn":"2025-07-18T16:44:15Z","related":["USN-3499-1"],"upstream":["CVE-2017-16944"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-16944"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3499-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-16944"}],"affected":[{"package":{"name":"exim4","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/exim4@4.82-3ubuntu2.3?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.82-3ubuntu2.3"}]}],"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"exim4","binary_version":"4.82-3ubuntu2.3"},{"binary_name":"exim4-base","binary_version":"4.82-3ubuntu2.3"},{"binary_name":"exim4-base-dbgsym","binary_version":"4.82-3ubuntu2.3"},{"binary_name":"exim4-config","binary_version":"4.82-3ubuntu2.3"},{"binary_name":"exim4-daemon-heavy","binary_version":"4.82-3ubuntu2.3"},{"binary_name":"exim4-daemon-heavy-dbg","binary_version":"4.82-3ubuntu2.3"},{"binary_name":"exim4-daemon-heavy-dbgsym","binary_version":"4.82-3ubuntu2.3"},{"binary_name":"exim4-daemon-light","binary_version":"4.82-3ubuntu2.3"},{"binary_name":"exim4-daemon-light-dbg","binary_version":"4.82-3ubuntu2.3"},{"binary_name":"exim4-daemon-light-dbgsym","binary_version":"4.82-3ubuntu2.3"},{"binary_name":"exim4-dbg","binary_version":"4.82-3ubuntu2.3"},{"binary_name":"exim4-dev","binary_version":"4.82-3ubuntu2.3"},{"binary_name":"eximon4","binary_version":"4.82-3ubuntu2.3"},{"binary_name":"eximon4-dbgsym","binary_version":"4.82-3ubuntu2.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-16944.json"}},{"package":{"name":"exim4","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/exim4@4.86.2-2ubuntu2.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.86.2-2ubuntu2.2"}]}],"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"exim4","binary_version":"4.86.2-2ubuntu2.2"},{"binary_name":"exim4-base","binary_version":"4.86.2-2ubuntu2.2"},{"binary_name":"exim4-base-dbgsym","binary_version":"4.86.2-2ubuntu2.2"},{"binary_name":"exim4-config","binary_version":"4.86.2-2ubuntu2.2"},{"binary_name":"exim4-daemon-heavy","binary_version":"4.86.2-2ubuntu2.2"},{"binary_name":"exim4-daemon-heavy-dbg","binary_version":"4.86.2-2ubuntu2.2"},{"binary_name":"exim4-daemon-heavy-dbgsym","binary_version":"4.86.2-2ubuntu2.2"},{"binary_name":"exim4-daemon-light","binary_version":"4.86.2-2ubuntu2.2"},{"binary_name":"exim4-daemon-light-dbg","binary_version":"4.86.2-2ubuntu2.2"},{"binary_name":"exim4-daemon-light-dbgsym","binary_version":"4.86.2-2ubuntu2.2"},{"binary_name":"exim4-dbg","binary_version":"4.86.2-2ubuntu2.2"},{"binary_name":"exim4-dev","binary_version":"4.86.2-2ubuntu2.2"},{"binary_name":"eximon4","binary_version":"4.86.2-2ubuntu2.2"},{"binary_name":"eximon4-dbgsym","binary_version":"4.86.2-2ubuntu2.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-16944.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}