7.5
CWE
787 119
Advisory Published
CVE Published
Updated

CVE-2023-3138: Buffer Overflow

First published: Fri Jun 09 2023(Updated: )

A vulnerability was found in libX11. The security flaw occurs because the functions in src/InitExt.c in libX11 do not check that the values provided for the Request, Event, or Error IDs are within the bounds of the arrays that those functions write to, using those IDs as array indexes. They trust that they were called with values provided by an Xserver adhering to the bounds specified in the X11 protocol, as all X servers provided by X.Org do. As the protocol only specifies a single byte for these values, an out-of-bounds value provided by a malicious server (or a malicious proxy-in-the-middle) can only overwrite other portions of the Display structure and not write outside the bounds of the Display structure itself, possibly causing the client to crash with this memory corruption.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
X.Org libX11<1.8.6
Redhat Enterprise Linux=8.0
Redhat Enterprise Linux=9.0
redhat/libX11<1.8.6
1.8.6
IBM QRadar SIEM<=7.5 - 7.5.0 UP8 IF01

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2023-3138?

    CVE-2023-3138 is a vulnerability found in libX11 that allows attackers to write arbitrary values to arrays, potentially leading to remote code execution or denial of service.

  • How does the vulnerability in libX11 (CVE-2023-3138) occur?

    The vulnerability occurs because certain functions in src/InitExt.c in libX11 do not properly check the bounds of array indexes.

  • What is the severity rating of CVE-2023-3138?

    CVE-2023-3138 has a severity rating of 7.5 (High).

  • Which software versions are affected by CVE-2023-3138?

    X.Org libX11 versions up to 1.8.6, Redhat Enterprise Linux 8.0, and Redhat Enterprise Linux 9.0 are affected by CVE-2023-3138.

  • How can I fix the vulnerability in libX11 (CVE-2023-3138)?

    To fix the vulnerability, it is recommended to update to a patched version of libX11 as provided by the vendor or project maintainers.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203