CVE-2013-1997: Buffer Overflow

Published May 7, 2013
·
Updated

Multiple Array index errors leading to heap-based buffer OOB write flaws were found in the libX11, Core X11 protocol client library. When a X client is connected to a malcicious 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: XAllocColorCells(), XkbReadGetDeviceInfoReply(), XkbReadGeomShapes(), XkbReadGetGeometryReply(), XkbReadKeySyms(), XkbReadKeyActions(), XkbReadKeyBehaviors(), XkbReadModifierMap(), XkbReadExplicitComponents(), XkbReadVirtualModMap(), XkbReadGetNamesReply(), XkbReadGetMapReply(), XimXGetReadData(), XListFonts(), XListExtensions()

Other sources

Multiple buffer overflows in X.org libX11 1.5.99.901 (1.6 RC1) and earlier allow X servers to cause a denial of service (crash) and possibly execute arbitrary code via crafted length or index values to the (1) XAllocColorCells, (2) XkbReadGetDeviceInfoReply, (3) XkbReadGeomShapes, (4) XkbReadGetGeometryReply, (5) XkbReadKeySyms, (6) XkbReadKeyActions, (7) XkbReadKeyBehaviors, (8) XkbReadModifierMap, (9) XkbReadExplicitComponents, (10) XkbReadVirtualModMap, (11) XkbReadGetNamesReply, (12) XkbReadGetMapReply, (13) XimXGetReadData, (14) XListFonts, (15) XListExtensions, and (16) XGetFontPath functions.

— 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 7, 2013
Data Sourced
via Red Hat·05:08 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-1997?

CVE-2013-1997 has a high severity level due to its potential to cause denial of service and execute arbitrary code.

2

How do I fix CVE-2013-1997?

To fix CVE-2013-1997, update your libX11 package to version 1.6 or later.

3

What does CVE-2013-1997 affect?

CVE-2013-1997 affects X.org libX11 versions up to and including 1.5.99.901 and the exact version 1.5.0.

4

What are the consequences of CVE-2013-1997?

The consequences of CVE-2013-1997 include crashes of the X server and potential arbitrary code execution.

5

Is CVE-2013-1997 actively exploited?

There have been no public reports indicating active exploitation of CVE-2013-1997, but it remains a risk due to its severity.

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