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.
https://www.exploit-db.com/exploits/43184/
https://www.debian.org/security/2017/dsa-4053
https://lists.exim.org/lurker/message/20171125.034842.d1d75cac.en.html
http://www.securitytracker.com/id/1039873
http://www.openwall.com/lists/oss-security/2021/05/04/7
http://openwall.com/lists/oss-security/2017/11/25/3