QID 355602

Date Published: 2023-07-24

QID 355602: Amazon Linux Security Advisory for libX11 : ALAS2-2023-2129

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. (
( CVE-2023-3138)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2023-2129 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355602

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2023-2129 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2023-2129.html
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report