The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free) via vectors involving BDAT commands.
https://www.debian.org/security/2017/dsa-4053
https://lists.exim.org/lurker/message/20171125.034842.d1d75cac.en.html
https://git.exim.org/exim.git/commitdiff/4e6ae6235c68de243b1c2419027472d7659aa2b4
https://git.exim.org/exim.git/commit/4090d62a4b25782129cc1643596dc2f6e8f63bde
http://www.securitytracker.com/id/1039872
http://www.openwall.com/lists/oss-security/2021/05/04/7
http://openwall.com/lists/oss-security/2017/11/25/3