CVE-2013-1987: Buffer Overflow
An integer overflow leading to heap-based buffer overflow was found in libXrender, an X.Org X11 libXrender runtime library. 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: XRenderQueryFilters(), XRenderQueryFormats(), XRenderQueryPictIndexValues()
Other sources
Multiple integer overflows in X.org libXrender 0.9.7 and earlier allow X servers to trigger allocation of insufficient memory and a buffer overflow via vectors related to the (1) XRenderQueryFilters, (2) XRenderQueryFormats, and (3) XRenderQueryPictIndexValues functions.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/libXrenderto a version that resolves this vulnerability.Fixed in 0.9.8
Event History
Frequently Asked Questions
What is the severity of CVE-2013-1987?
CVE-2013-1987 is considered a high severity vulnerability due to the potential for triggering buffer overflows.
How do I fix CVE-2013-1987?
To fix CVE-2013-1987, update the X.org libXrender package to a version later than 0.9.7.
Which software is affected by CVE-2013-1987?
CVE-2013-1987 affects X.org libXrender versions 0.9.7 and earlier, as well as specific Ubuntu and openSUSE distributions.
What can happen if CVE-2013-1987 is exploited?
Exploitation of CVE-2013-1987 can lead to denial of service or arbitrary code execution due to insufficient memory allocation.
How was CVE-2013-1987 discovered?
CVE-2013-1987 was discovered through the identification of integer overflows in the libXrender API functions.