Xmail: Privilege escalation through sendmail The sendmail program in Xmail is vulnerable to a buffer overflow, potentially resulting in local privilege escalation. xmail 2005-12-14 2005-12-14: 01 109381 local 1.22 1.22

Xmail is an Internet and intranet mail server.

iDEFENSE reported that the AddressFromAtPtr function in the sendmail program fails to check bounds on arguments passed from other functions, and as a result an exploitable stack overflow condition occurs when specifying the "-t" command line option.

A local attacker can make a malicious call to sendmail, potentially resulting in code execution with elevated privileges.

There is no known workaround at this time.

All Xmail users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=mail-mta/xmail-1.22"
CVE-2005-2943 iDEFENSE Security Advisory koon koon adir