An integer overflow leading to heap-based buffer overflow was found in libXRes, an extension that allows a client to query the X server about its usage of various resources.. When a X client is connected to a malicious X server, (modified to return invalid values), it can cause arbirary code execution with the privileges of the user running the X client.
Affected functions: XResQueryClients(), XResQueryClientResources()
Created libXres tracking bugs for this issue
Affects: fedora-all [bug 966815]
libXres-1.0.6-5.20130524gitf46818496.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
libXres-1.0.6-5.20130524gitf46818496.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 libXRes as shipped with Red Hat Enterprise Linux 5 and 6.
This issue affects the libXRes 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/
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