[ANNOUNCE] X.Org Security Advisory: Sub-object overflows in libX11
Alan Coopersmith
alan.coopersmith at oracle.com
Thu Jun 15 16:34:36 UTC 2023
X.Org Security Advisory: June 15, 2023
Buffer overflows in InitExt.c in libX11 prior to 1.8.6 [CVE-2023-3138]
======================================================================
The functions in src/InitExt.c in libX11 prior to 1.8.6 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. Instead they trusted that they were called
with values provided by an Xserver that was 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. Testing has found it is possible to at least cause the client
to crash with this memory corruption.
This is fixed in:
https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0f00d8998185f0360332cfa36c
which is included in the libX11 1.8.6 release issued today.
X.Org thanks Gregory James Duck for reporting this issue to our security
team.
--
-Alan Coopersmith- alan.coopersmith at oracle.com
X.Org Security Response Team - xorg-security at lists.x.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg/attachments/20230615/f69dfb71/attachment.sig>
More information about the xorg
mailing list