CVE-2013-1981: Buffer Overflow
Multiple integer overflows in X.org libX11 1.5.99.901 (1.6 RC1) and earlier allow X servers to trigger allocation of insufficient memory and a buffer overflow via vectors related to the (1) XQueryFont, (2) XF86BigfontQueryFont, (3) XListFontsWithInfo, (4) XGetMotionEvents, (5) XListHosts, (6) XGetModifierMapping, (7) XGetPointerMapping, (8) XGetKeyboardMapping, (9) XGetWindowProperty, (10) XGetImage, (11) LoadColornameDB, (12) XrmGetFileDatabase, (13) XimParseStringFile, or (14) TransFileName functions.
Other sources
Several integer overflow flaws causing heap-based buffer overflows were found in libX11, the Core X11 protocol client library.
Note from upstream:
Most of these issues stem from the client libraries trusting the server to send correct protocol data, and not verifying that the values will not overflow or cause other damage. Most of the time X clients & servers are run by the same user, with the server more privileged from the clients, so this is not a problem, but there are scenarios in which a privileged client can be connected to an unprivileged server, for instance, connecting a setuid X client (such as a screen lock program) to a virtual X server(such as Xvfb or Xephyr) the user has modified to return invalid data, potentially allowing the user to escalate their privileges.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/libX11to a version that resolves this vulnerability.Fixed in 1.5.99.902
Event History
Frequently Asked Questions
What is the severity of CVE-2013-1981?
CVE-2013-1981 is classified as a high-severity vulnerability due to the risk of buffer overflows leading to arbitrary code execution.
How do I fix CVE-2013-1981?
To fix CVE-2013-1981, update the X.org libX11 library to version 1.6 or later.
Who is affected by CVE-2013-1981?
CVE-2013-1981 affects users of X.org libX11 versions 1.5.0 up to 1.5.99.901 and specific versions of Ubuntu Linux.
What types of vulnerabilities does CVE-2013-1981 exploit?
CVE-2013-1981 exploits integer overflow vulnerabilities in multiple X server functions.
What could happen if CVE-2013-1981 is exploited?
If exploited, CVE-2013-1981 could lead to a denial of service or potentially allow an attacker to execute arbitrary code.