Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-43785 EUVD-2023-48162GHSA-9368-fgh5-gh2f

Libx11: out-of-bounds memory access in _xkbreadkeysyms()

Published Oct 10, 2023 · Updated Nov 7, 2026 · Assigned by redhat

Description

A vulnerability was found in libX11 due to a boundary condition within the _XkbReadKeySyms() function. This flaw allows a local user to trigger an out-of-bounds read error and read the contents of memory on the system.

Affected products

VendorProductAffectedFixed
— libX11 < 1.8.7 1.8.7
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —

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.7-1 —
Debian 13 libx11 2:1.8.7-1 —
Debian 12 libx11 2:1.8.4-2+deb12u2 DSA-5517-1
Debian 11 libx11 2:1.7.2-1+deb11u2 DSA-5517-1
Debian 10 libx11 2:1.6.7-1+deb10u4 DLA-3602-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libx11 2:1.7.5-1ubuntu0.3 USN-6407-1
Ubuntu 20.04 LTS libx11 2:1.6.9-2ubuntu1.6 USN-6407-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS libx11 2:1.6.4-3ubuntu0.4+esm2 USN-6407-2
Ubuntu Pro 16.04 LTS libx11 2:1.6.3-1ubuntu2.2+esm4 USN-6407-2
Ubuntu Pro 14.04 LTS libx11 2:1.6.2-1ubuntu2.1+esm5 USN-6407-2
ReleasePackageFixed inAdvisory
RHEL 9 libX11 +3 1.7.0-9.el9 RHSA-2024:2145
RHEL 8 libX11 +3 1.6.8-8.el8 RHSA-2024:2973

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libX11 +3 1.7.0-9.el9 ALSA-2024:2145
AlmaLinux 8 libX11 +3 1.6.8-8.el8 ALSA-2024:2973

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 libX11 1.7.0-9.el9 RLSA-2024:2145
Rocky Linux 8 libX11 1.6.8-8.el8 RLSA-2024:2973
ReleasePackageFixed inAdvisory
SLES 15 SP5 libX11 1.6.5-150000.3.33.1 SUSE-SU-2023:3963-1
SLES 15 SP4 libX11 1.6.5-150000.3.33.1 SUSE-SU-2023:3963-1
SLES 12 SP5 libX11 1.6.2-12.33.1 SUSE-SU-2023:3989-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 libX11 1.6.2-12.33.1 SUSE-SU-2023:3989-1
SLE Micro 5.5 libX11 1.6.5-150000.3.33.1 SUSE-SU-2024:2453-1, SUSE-SU-2023:3963-1
SLE Micro 5.4 libX11 1.6.5-150000.3.33.1 SUSE-SU-2023:3963-1
SLE Micro 5.3 libX11 1.6.5-150000.3.33.1 SUSE-SU-2023:3963-1
SLE Micro 5.2 libX11 1.6.5-150000.3.33.1 SUSE-SU-2023:3963-1
SUSE Manager Server 4.2 libX11 1.6.5-150000.3.33.1 SUSE-SU-2023:3963-1
SUSE Manager Proxy 4.2 libX11 1.6.5-150000.3.33.1 SUSE-SU-2023:3963-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.5 libX11 1.6.5-150000.3.33.1 SUSE-SU-2023:3963-1
openSUSE Leap 15.4 libX11 1.6.5-150000.3.33.1 SUSE-SU-2023:3963-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libx11 1.8.7-r0 —
Alpine v3.23 libx11 1.8.7-r0 —
Alpine v3.22 libx11 1.8.7-r0 —
Alpine v3.21 libx11 1.8.7-r0 —
Alpine v3.20 libx11 1.8.7-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libx11 1.8.7-r0 —
Alpine v3.18 libx11 1.8.7-r0 —
Alpine v3.17 libx11 1.8.7-r0 —
Alpine v3.16 libx11 1.8.7-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libX11 +3 1.7.2-3.amzn2023.0.4 ALAS2023-2023-383
Amazon Linux 2 libX11 +2 1.6.7-3.amzn2.0.4 ALAS2-2023-2296

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) libX11 1.8.7-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libX11 +3 1.7.0-9.el9 ELSA-2024-2145
Oracle Linux 8 libX11 +3 1.6.8-8.el8 ELSA-2024-2973

Advisories 20

References