CVE-2013-1987: Buffer Overflow

Published May 3, 2013
·
Updated

An integer overflow leading to heap-based buffer overflow was found in libXrender, an X.Org X11 libXrender 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: XRenderQueryFilters(), XRenderQueryFormats(), XRenderQueryPictIndexValues()

Other sources

Multiple integer overflows in X.org libXrender 0.9.7 and earlier allow X servers to trigger allocation of insufficient memory and a buffer overflow via vectors related to the (1) XRenderQueryFilters, (2) XRenderQueryFormats, and (3) XRenderQueryPictIndexValues functions.

— MITRE

Affected Software

14 affected componentsFixes available
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=12.10
Canonical Ubuntu Linux=13.04
openSUSE openSUSE=12.2
openSUSE openSUSE=12.3
X libXrender<=0.9.7
X libXrender=0.9.1
X libXrender=0.9.2
X libXrender=0.9.3
X libXrender=0.9.4
X libXrender=0.9.5
X libXrender=0.9.6
redhat/libxrender<0.9.8
0.9.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 0.9.8

Event History

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

Frequently Asked Questions

1

What is the severity of CVE-2013-1987?

CVE-2013-1987 is considered a high severity vulnerability due to the potential for triggering buffer overflows.

2

How do I fix CVE-2013-1987?

To fix CVE-2013-1987, update the X.org libXrender package to a version later than 0.9.7.

3

Which software is affected by CVE-2013-1987?

CVE-2013-1987 affects X.org libXrender versions 0.9.7 and earlier, as well as specific Ubuntu and openSUSE distributions.

4

What can happen if CVE-2013-1987 is exploited?

Exploitation of CVE-2013-1987 can lead to denial of service or arbitrary code execution due to insufficient memory allocation.

5

How was CVE-2013-1987 discovered?

CVE-2013-1987 was discovered through the identification of integer overflows in the libXrender API functions.

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