CVE-2013-1986: Buffer Overflow
An integer overflow leading to heap-based buffer overflow was found in libXrandr, X.Org X11 libXrandr 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: XRRQueryOutputProperty(), XRRQueryProviderProperty() [XRRQueryProviderProperty() was introduced in libXrandr 1.4.0 and is not found in 1.3.2 and older releases.]
Other sources
Multiple integer overflows in X.org libXrandr 1.4.0 and earlier allow X servers to trigger allocation of insufficient memory and a buffer overflow via vectors related to the (1) XRRQueryOutputProperty and (2) XRRQueryProviderProperty functions.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/libXrandrto a version that resolves this vulnerability.Fixed in 1.4.1
Event History
Frequently Asked Questions
What is the severity of CVE-2013-1986?
CVE-2013-1986 has a moderate severity level due to risks of memory corruption and potential system crashes.
How do I fix CVE-2013-1986?
To fix CVE-2013-1986, upgrade to libXrandr version 1.4.1 or later.
What are the consequences of exploiting CVE-2013-1986?
Exploiting CVE-2013-1986 can lead to unexpected behavior, including buffer overflows that may crash the X server.
What versions of libXrandr are affected by CVE-2013-1986?
CVE-2013-1986 affects libXrandr versions 1.4.0 and earlier.
What functions are related to the vulnerability in CVE-2013-1986?
The vulnerability in CVE-2013-1986 is related to the XRRQueryOutputProperty and XRRQueryProviderProperty functions.