CVE-2023-3138Improper Restriction of Operations within the Bounds of a Memory Buffer in Libx11

Severity
7.5HIGHNVD
EPSS
0.1%
top 76.08%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJun 28
Latest updateMar 4

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 the

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

NVDx.org/libx11< 1.8.6
Debianx.org/libx11< 2:1.7.2-1+deb11u1+3
CVEListV5x.org/libx11libX11 1.8.6

Also affects: Enterprise Linux 8.0, 9.0

Patches

🔴Vulnerability Details

3
CVEList
CVE-2023-3138: A vulnerability was found in libX112023-06-28
GHSA
GHSA-849h-8wj5-xmx8: A vulnerability was found in libX112023-06-28
OSV
CVE-2023-3138: A vulnerability was found in libX112023-06-28

💥Exploits & PoCs

1
Nuclei
Payment Gateway for Telcell < 2.0.4 - Open Redirect

📋Vendor Advisories

7
Ubuntu
libx11 vulnerability2023-06-20
BSD
OpenBSD 7.3 Errata 005: SECURITY FIX2023-06-15
Ubuntu
libx11 vulnerability2023-06-15
Red Hat
libX11: InitExt.c can overwrite unintended portions of the Display structure if the extension request leads to a buffer overflow2023-06-15
BSD
OpenBSD 7.2 Errata 027: SECURITY FIX2023-06-15

💬Community

1
Bugzilla
CVE-2023-52580 kernel: net/core: kernel crash in ETH_P_1588 flow dissector2024-03-04
CVE-2023-3138 — X.org Libx11 vulnerability | cvebase