Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| X.Org | Libx11 | < 1.8.6 |
| Redhat | Enterprise Linux | 8.0 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/security/cve/CVE-2023-3138Third Party Advisory
- https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0f00d89981Patch
- https://lists.x.org/archives/xorg-announce/2023-June/003406.htmlMailing ListPatch
- https://lists.x.org/archives/xorg-announce/2023-June/003407.htmlMailing ListPatch
- https://security.netapp.com/advisory/ntap-20231208-0008/
- https://access.redhat.com/security/cve/CVE-2023-3138Third Party Advisory
- https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0f00d89981Patch
- https://lists.x.org/archives/xorg-announce/2023-June/003406.htmlMailing ListPatch
- https://lists.x.org/archives/xorg-announce/2023-June/003407.htmlMailing ListPatch
- https://security.netapp.com/advisory/ntap-20231208-0008/
FAQ
What is CVE-2023-3138?
CVE-2023-3138 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2023-3138?
CVE-2023-3138 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-3138?
Check the references section above for vendor advisories and patch information. Affected products include: X.Org Libx11, Redhat Enterprise Linux.