Logo
vulnerabilityCVE-2023-3138
Name
CVE-2023-3138
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
libx11
Patched

Vulnerability Rating#


7.5
CVSSv31

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
1.8.7
Not Affected
buildroot
master
1.8.12
Not Affected
yocto
master
1.8.13
Not Affected
yocto
scarthgap
1.8.9
Not Affected

Resolved with patches#


libx11 (yocto:kirkstone)

#
Title
Author
Resolve
1
InitExt.c: Add bounds checks for extension request, event, &
Alan Coopersmith <alan.coopersmith@oracle.com>
CVE-2023-3138