CVE-2013-2004: Buffer Overflow
IssueDescription:
Two stack-based buffer overflow flaws were found in the way libX11, the Core X11 protocol client library, processed certain user-specified files. A malicious X11 server could possibly use this flaw to crash an X11 client via a specially crafted file.
Other sources
The (1) GetDatabase and (2) XimParseStringFile functions in X.org libX11 1.5.99.901 (1.6 RC1) and earlier do not restrict the recursion depth when processing directives to include files, which allows X servers to cause a denial of service (stack consumption) via a crafted file.
— MITRE
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-2004?
CVE-2013-2004 is classified as a denial of service vulnerability due to potential stack consumption.
How does CVE-2013-2004 affect X.org libX11?
CVE-2013-2004 allows crafted files to exploit unchecked recursion depth, causing stack overflow.
Which versions of X.org libX11 are affected by CVE-2013-2004?
CVE-2013-2004 affects X.org libX11 version 1.5.99.901 and earlier.
What can be done to mitigate CVE-2013-2004?
Mitigation for CVE-2013-2004 includes updating X.org libX11 to a version that implements recursion depth checks.
Is there a patch available for CVE-2013-2004?
Yes, patches have been released by various distributions to address CVE-2013-2004.