masqmail before 0.2.18 allows remote attackers to execute arbitrary commands via crafted e-mail addresses that are not properly sanitized when creating a failed delivery message.
https://exchange.xforce.ibmcloud.com/vulnerabilities/22346
http://www.vupen.com/english/advisories/2005/1807
http://www.securityfocus.com/bid/14890
http://www.osvdb.org/displayvuln.php?osvdb_id=19583
http://www.mandriva.com/security/advisories?name=MDKSA-2005:168
http://www.debian.org/security/2005/dsa-848