Multiple buffer overflows in X.org libXi 1.7.1 and earlier allow X servers to cause a denial of service (crash) and possibly execute arbitrary code via crafted length or index values to the (1) XGetDeviceButtonMapping, (2) XIPassiveGrabDevice, and (3) XQueryDeviceState functions.
http://www.x.org/wiki/Development/Security/Advisory-2013-05-23
http://www.ubuntu.com/usn/USN-1859-1
http://www.securityfocus.com/bid/60127
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