Skip to content
OpenAdvisories
Unscored CVE-2023-3138 EUVD-2023-43823GHSA-849h-8wj5-xmx8

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…

Published Jun 28, 2023 · Updated Aug 2, 2024 · Assigned by redhat

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 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 products

VendorProductAffectedFixed
— libX11 libX11 1.8.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libx11 2:1.8.6-1 —
Debian 13 libx11 2:1.8.6-1 —
Debian 12 libx11 2:1.8.4-2+deb12u1 DSA-5433-1
Debian 11 libx11 2:1.7.2-1+deb11u1 DSA-5433-1
Debian 10 libx11 2:1.6.7-1+deb10u3 DLA-3472-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libx11 2:1.7.5-1ubuntu0.2 USN-6168-1
Ubuntu 20.04 LTS libx11 2:1.6.9-2ubuntu1.5 USN-6168-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS libx11 2:1.6.4-3ubuntu0.4+esm1 USN-6168-2
Ubuntu Pro 16.04 LTS libx11 2:1.6.3-1ubuntu2.2+esm2 USN-6168-2
Ubuntu Pro 14.04 LTS libx11 2:1.6.2-1ubuntu2.1+esm3 USN-6168-2
ReleasePackageFixed inAdvisory
RHEL 9 libX11 +3 1.7.0-8.el9 RHSA-2023:6497
RHEL 8 libX11 +3 1.6.8-6.el8 RHSA-2023:7029
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.2 EUS libX11 +3 1.7.0-8.el9_2 RHSA-2024:1088
RHEL 8.8 EUS libX11 +3 1.6.8-6.el8_8 RHSA-2024:1417

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libX11 +3 1.7.0-8.el9 ALSA-2023:6497
AlmaLinux 8 libX11 +3 1.6.8-6.el8 ALSA-2023:7029
ReleasePackageFixed inAdvisory
SLES 15 SP5 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SLES 15 SP4 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SLES 15 SP3 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SLES 15 SP2 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SLES 15 SP1 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
Show 21 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 libX11 1.6.2-12.30.1 SUSE-SU-2023:2531-1
SLES 12 SP4 libX11 1.6.2-12.30.1 SUSE-SU-2023:2531-1
SLES 12 SP2 libX11 1.6.2-12.30.1 SUSE-SU-2023:2531-1
SLES for SAP 15 SP3 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SLES for SAP 15 SP2 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SLES for SAP 15 SP1 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SLES for SAP 12 SP5 libX11 1.6.2-12.30.1 SUSE-SU-2023:2531-1
SLES for SAP 12 SP4 libX11 1.6.2-12.30.1 SUSE-SU-2023:2531-1
SLE Real Time 15 SP3 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SLE Micro 5.4 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SLE Micro 5.3 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SLE Micro 5.2 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SLE HPC 15 SP3 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SLE HPC 15 SP2 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SLE HPC 15 SP1 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SUSE OpenStack Cloud Crowbar 9 libX11 1.6.2-12.30.1 SUSE-SU-2023:2531-1
SUSE OpenStack Cloud 9 libX11 1.6.2-12.30.1 SUSE-SU-2023:2531-1
SUSE Manager Server 4.2 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SUSE Manager Proxy 4.2 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SUSE Enterprise Storage 7.1 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
SUSE Enterprise Storage 7 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.5 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
openSUSE Leap 15.4 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 libX11 1.6.5-150000.3.30.1 SUSE-SU-2023:2614-1
ReleasePackageFixed inAdvisory
Alpine v3.18 libx11 1.8.4-r4 —
Alpine v3.17 libx11 1.8.4-r1 —
Alpine v3.16 libx11 1.8-r1 —
Alpine v3.15 libx11 1.7.3.1-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libX11 +3 1.7.2-3.amzn2023.0.3 ALAS2023-2023-250
Amazon Linux 2 libX11 +2 1.6.7-3.amzn2.0.3 ALAS2-2023-2129

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) libX11 1.6.12-6 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libX11 +3 1.7.0-8.el9 ELSA-2023-6497
Oracle Linux 8 libX11 +3 1.6.8-6.el8 ELSA-2023-7029

Advisories 20

References