cbcvebase.
CVE-2023-3138
published 2023-06-28

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…

PriorityP341high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
1.66%
74.0th percentile
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.

Affected

10 ranges
VendorProductVersion rangeFixed in
debianlibx11< libx11 2:1.8.4-2+deb12u1 (bookworm)libx11 2:1.8.4-2+deb12u1 (bookworm)
msrccbl2_libx11_1.6.12-6_on_cbl_mariner_2.0
redhatenterprise_linux
redhatenterprise_linux
x.orglibx11< 1.8.61.8.6
x.orglibx11
x.orglibx11>= 0 < 2:1.7.2-1+deb11u12:1.7.2-1+deb11u1
x.orglibx11>= 0 < 2:1.8.4-2+deb12u12:1.8.4-2+deb12u1
x.orglibx11>= 0 < 2:1.8.6-12:1.8.6-1
x.orglibx11>= 0 < 2:1.8.6-12:1.8.6-1

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.