Exim 4 before 4.94.2 allows Buffer Underwrite that may result in unauthenticated remote attackers executing arbitrary commands, because smtp_ungetc was only intended to push back characters, but can actually push back non-character error codes such as EOF.
https://www.tenable.com/cyber-exposure/2021-threat-landscape-retrospective
https://www.exim.org/static/doc/security/CVE-2020-qualys/CVE-2020-28024-UNGET.txt