X.org libXi 1.7.1 and earlier allows X servers to trigger allocation of insufficient memory and a buffer overflow via vectors related to an unexpected sign extension in the XListInputDevices function.
http://www.x.org/wiki/Development/Security/Advisory-2013-05-23
http://www.ubuntu.com/usn/USN-1859-1
http://www.securityfocus.com/bid/60124
http://www.openwall.com/lists/oss-security/2013/05/23/3
http://www.debian.org/security/2013/dsa-2683
http://lists.opensuse.org/opensuse-updates/2013-06/msg00161.html
http://lists.fedoraproject.org/pipermail/package-announce/2013-May/106913.html