CVE-2023-3138: A vulnerability was found in libX11
CVE-2023-3138 is a high-severity flaw (CVSS 7.5) affecting libx11, enterprise linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-3138?
libx11: upgrade to 1.8.6; enterprise linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2023-3138 being exploited?
CVE-2023-3138 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-3138 affect?
CVE-2023-3138 affects libx11, enterprise linux. Severity is high (CVSS 7.5). 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 functio
How urgent is CVE-2023-3138?
Priority 55/100. High severity; Remotely exploitable, no login, no user action; On your watchlist
Related CVEs
- CVE-2023-43787 HIGH 7.8 UPGRADE MITIGATE A vulnerability was found in libX11 due to an integer overflow within the XCreateImage() function
- CVE-2023-43786 MEDIUM 5.5 UPGRADE MITIGATE A vulnerability was found in libX11 due to an infinite loop within the PutSubImage() function
- CVE-2023-43785 MEDIUM 6.5 UPGRADE MITIGATE A vulnerability was found in libX11 due to a boundary condition within the _XkbReadKeySyms() function
- CVE-2021-31535 CRITICAL 9.8 UPGRADE UPGRADE LookupCol.c in X.Org X through X11R7.7 and libX11 before 1.7.1 might allow remote attackers to execute arbitra
- CVE-2020-14363 HIGH 7.8 UPGRADE MITIGATE An integer overflow vulnerability leading to a double-free was found in libX11