CVE-2023-3138

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
redhatCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 41%
VendorProductVersion
x.orglibx11
𝑥
< 1.8.6
redhatenterprise_linux
8.0
redhatenterprise_linux
9.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libx11
bullseye (security)
2:1.7.2-1+deb11u2
fixed
bullseye
2:1.7.2-1+deb11u2
fixed
bookworm
2:1.8.4-2+deb12u2
fixed
bookworm (security)
2:1.8.4-2+deb12u2
fixed
sid
2:1.8.10-2
fixed
trixie
2:1.8.10-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libx11
lunar
Fixed 2:1.8.4-2ubuntu0.2
released
kinetic
Fixed 2:1.8.1-2ubuntu0.2
released
jammy
Fixed 2:1.7.5-1ubuntu0.2
released
focal
Fixed 2:1.6.9-2ubuntu1.5
released
bionic
Fixed 2:1.6.4-3ubuntu0.4+esm1
released
xenial
Fixed 2:1.6.3-1ubuntu2.2+esm2
released
trusty
Fixed 2:1.6.2-1ubuntu2.1+esm3
released