gnuserv before 3.12, as shipped with XEmacs, does not properly check the specified length of an X Windows MIT-MAGIC-COOKIE cookie, which allows remote attackers to execute arbitrary commands via a buffer overflow, or brute force authentication by using a short cookie length.
https://exchange.xforce.ibmcloud.com/vulnerabilities/6056
https://euvd.enisa.europa.eu/vulnerability/EUVD-2001-0191
http://www.redhat.com/support/errata/RHSA-2001-011.html
http://www.redhat.com/support/errata/RHSA-2001-010.html
http://www.linux-mandrake.com/en/security/2001/MDKSA-2001-019.php3
http://archives.neohapsis.com/archives/bugtraq/2001-02/0030.html