CVE-2013-2004: Buffer Overflow

Published May 3, 2013
·
Updated

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

3 affected componentsFixes available
X libX11<=1.5.99.901
X libX11=1.5.0
redhat/libx11<1.5.99.902
1.5.99.902

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libX11 to a version that resolves this vulnerability.

    Fixed in 1.5.99.902

Event History

May 3, 2013
Data Sourced
via Red Hat·07:46 AM
DescriptionSeverityAffected Software
Jun 15, 2013
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
08:55 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2013-2004?

CVE-2013-2004 is classified as a denial of service vulnerability due to potential stack consumption.

2

How does CVE-2013-2004 affect X.org libX11?

CVE-2013-2004 allows crafted files to exploit unchecked recursion depth, causing stack overflow.

3

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.

4

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.

5

Is there a patch available for CVE-2013-2004?

Yes, patches have been released by various distributions to address CVE-2013-2004.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203