CVE-2023-3138
Fixed in a distro release EPSS 2%
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.
Products: x.org libx11, redhat enterprise_linux
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 8 | libX11 | 1.6.8-6.el8 |
| AlmaLinux 8 | libX11-common | 1.6.8-6.el8 |
| AlmaLinux 8 | libX11-devel | 1.6.8-6.el8 |
| AlmaLinux 8 | libX11-xcb | 1.6.8-6.el8 |
| AlmaLinux 9 | libX11 | 1.7.0-8.el9 |
| AlmaLinux 9 | libX11-common | 1.7.0-8.el9 |
| AlmaLinux 9 | libX11-devel | 1.7.0-8.el9 |
| AlmaLinux 9 | libX11-xcb | 1.7.0-8.el9 |
| Alpine 3.15 | libx11 | 1.7.3.1-r1 |
| Alpine 3.16 | libx11 | 1.8-r1 |
| Alpine 3.17 | libx11 | 1.8.4-r1 |
| Alpine 3.18 | libx11 | 1.8.4-r4 |
| Amazon Linux 2 | libX11 | 1.6.7-3.amzn2.0.3 |
| Amazon Linux 2 | libX11-common | 1.6.7-3.amzn2.0.3 |
| Amazon Linux 2 | libX11-devel | 1.6.7-3.amzn2.0.3 |
| Amazon Linux 2023 | libX11 | 1.7.2-3.amzn2023.0.3 |
| Amazon Linux 2023 | libX11-common | 1.7.2-3.amzn2023.0.3 |
| Amazon Linux 2023 | libX11-devel | 1.7.2-3.amzn2023.0.3 |
| Amazon Linux 2023 | libX11-xcb | 1.7.2-3.amzn2023.0.3 |
| Debian 10 | libx11 | 2:1.6.7-1+deb10u3 |
| Debian 11 | libx11 | 2:1.7.2-1+deb11u1 |
| Debian 12 | libx11 | 2:1.8.4-2+deb12u1 |
| Debian 13 | libx11 | 2:1.8.6-1 |
| Debian 14 | libx11 | 2:1.8.6-1 |
| Red Hat Enterprise Linux 8 | libX11 | 0:1.6.8-6.el8 |
| Red Hat Enterprise Linux 8 | libX11-common | 0:1.6.8-6.el8 |
| Red Hat Enterprise Linux 8 | libX11-debuginfo | 0:1.6.8-6.el8 |
| Red Hat Enterprise Linux 8 | libX11-debugsource | 0:1.6.8-6.el8 |
| Red Hat Enterprise Linux 8 | libX11-devel | 0:1.6.8-6.el8 |
| Red Hat Enterprise Linux 8 | libX11-xcb | 0:1.6.8-6.el8 |
| Red Hat Enterprise Linux 8 | libX11-xcb-debuginfo | 0:1.6.8-6.el8 |
| Red Hat Enterprise Linux 9 | libX11 | 0:1.7.0-8.el9 |
| Red Hat Enterprise Linux 9 | libX11-common | 0:1.7.0-8.el9 |
| Red Hat Enterprise Linux 9 | libX11-debuginfo | 0:1.7.0-8.el9 |
| Red Hat Enterprise Linux 9 | libX11-debugsource | 0:1.7.0-8.el9 |
| Red Hat Enterprise Linux 9 | libX11-devel | 0:1.7.0-8.el9 |
| Red Hat Enterprise Linux 9 | libX11-xcb | 0:1.7.0-8.el9 |
| Red Hat Enterprise Linux 9 | libX11-xcb-debuginfo | 0:1.7.0-8.el9 |
| Red Hat rhel eus 8.8 | libX11 | 0:1.6.8-6.el8_8 |
| Red Hat rhel eus 8.8 | libX11-common | 0:1.6.8-6.el8_8 |
| Red Hat rhel eus 8.8 | libX11-debuginfo | 0:1.6.8-6.el8_8 |
| Red Hat rhel eus 8.8 | libX11-debugsource | 0:1.6.8-6.el8_8 |
| Red Hat rhel eus 8.8 | libX11-devel | 0:1.6.8-6.el8_8 |
| Red Hat rhel eus 8.8 | libX11-xcb | 0:1.6.8-6.el8_8 |
| Red Hat rhel eus 8.8 | libX11-xcb-debuginfo | 0:1.6.8-6.el8_8 |
| Red Hat rhel eus 9.2 | libX11 | 0:1.7.0-8.el9_2 |
| Red Hat rhel eus 9.2 | libX11-common | 0:1.7.0-8.el9_2 |
| Red Hat rhel eus 9.2 | libX11-debuginfo | 0:1.7.0-8.el9_2 |
| Red Hat rhel eus 9.2 | libX11-debugsource | 0:1.7.0-8.el9_2 |
| Red Hat rhel eus 9.2 | libX11-devel | 0:1.7.0-8.el9_2 |
| Red Hat rhel eus 9.2 | libX11-xcb | 0:1.7.0-8.el9_2 |
| Red Hat rhel eus 9.2 | libX11-xcb-debuginfo | 0:1.7.0-8.el9_2 |
| SUSE Enterprise Storage 7 | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Enterprise Storage 7.1 | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise Micro 5.2 | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise Micro 5.3 | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise Micro 5.4 | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP4 | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP5 | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise Real Time 15 SP3 | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise Server 12 SP2-BCL | libX11 | 1.6.2-12.30.1 |
| SUSE Linux Enterprise Server 12 SP4-ESPOS | libX11 | 1.6.2-12.30.1 |
| SUSE Linux Enterprise Server 12 SP4-LTSS | libX11 | 1.6.2-12.30.1 |
| SUSE Linux Enterprise Server 12 SP5 | libX11 | 1.6.2-12.30.1 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise Server 15 SP2-LTSS | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | libX11 | 1.6.2-12.30.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | libX11 | 1.6.2-12.30.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP5 | libX11 | 1.6.2-12.30.1 |
| SUSE Manager Proxy 4.2 | libX11 | 1.6.5-150000.3.30.1 |
| SUSE Manager Server 4.2 | libX11 | 1.6.5-150000.3.30.1 |
| SUSE OpenStack Cloud 9 | libX11 | 1.6.2-12.30.1 |
| SUSE OpenStack Cloud Crowbar 9 | libX11 | 1.6.2-12.30.1 |
| Ubuntu 20.04 LTS | libx11 | 2:1.6.9-2ubuntu1.5 |
| Ubuntu 22.04 LTS | libx11 | 2:1.7.5-1ubuntu0.2 |
| Ubuntu Pro 14.04 LTS | libx11 | 2:1.6.2-1ubuntu2.1+esm3 |
| Ubuntu Pro 16.04 LTS | libx11 | 2:1.6.3-1ubuntu2.2+esm2 |
| Ubuntu Pro 18.04 LTS | libx11 | 2:1.6.4-3ubuntu0.4+esm1 |
| openSUSE Leap 15.4 | libX11 | 1.6.5-150000.3.30.1 |
| openSUSE Leap 15.5 | libX11 | 1.6.5-150000.3.30.1 |
| openSUSE Leap Micro 5.3 | libX11 | 1.6.5-150000.3.30.1 |