A sign extension issue was found in libXi, X.Org X11 libXi runtime library. The XListInputDevices() function did not check the sign of the returned data, leading to negative numbers being used in memory size calculations. This can result in allocating too little memory and then writing the returned data past the end of the buffer. When a X client is connected to a malcicious X server , (modified to return invalid values), it can cause arbirary code execution with the privileges of the user running the X client.
Public via: http://www.openwall.com/lists/oss-security/2013/05/23/3
Upstream patch: http://cgit.freedesktop.org/xorg/lib/libXi/commit/?id=81b4df8ac6aa1520c41c3526961014a6f115cc46
These issues affect the versions of the libXi package, as shipped with Fedora release of 17 and 18. Please schedule an update.
Created libXi tracking bugs for this issue Affects: fedora-all [bug 966698]
External References: http://www.x.org/wiki/Development/Security/Advisory-2013-05-23
libXi-1.7.1-4.20130524git661c45ca1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
libXi-1.6.2.901-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
This issue affects the version of libXi as shipped with Red Hat Enterprise Linux 5 and 6.
Statement: This issue affects the libXi package in Red Hat Enterprise Linux 5. Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not planned to be fixed in Red Hat Enterprise Linux 5 as it is now in Production 3 Phase of the support and maintenance life cycle: https://access.redhat.com/support/policy/updates/errata/
IssueDescription: A buffer overflow flaw was found in the way the XListInputDevices() function of X.Org X11's libXi runtime library handled signed numbers. A malicious X11 server could possibly use this flaw to execute arbitrary code with the privileges of the user running an X11 client.
This issue has been addressed in the following products: Red Hat Enterprise Linux 6 Via RHSA-2014:1436 https://rhn.redhat.com/errata/RHSA-2014-1436.html