libx11: A vulnerability was found in libX11
CVE-2023-3138 is fixed in 11 products on 1 platform, first by libx11-6 2:1.6.4-3ubuntu0.4+esm1, released June 14, 2023. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libX11 · RHEL 8 | 0:1.6.8-6.el8 | RHSA-2023:7029 | Nov 14, 2023 |
| libX11 · RHEL 9 | 0:1.7.0-8.el9 | RHSA-2023:6497 | Nov 7, 2023 |
| libX11 · almalinux 8 | 1.6.8-6.el8 | ALSA-2023:7029 | Nov 14, 2023 |
| libX11 · almalinux 9 | 1.7.0-8.el9 | ALSA-2023:6497 | Nov 7, 2023 |
| libX11 · amzn 2023 | 1.7.2-3.amzn2023.0.3 | ALAS2023-2023-250 | Jul 17, 2023 |
| libX11 · ol 8 | 0:1.6.8-6.el8 | ELSA-2023-7029 | Nov 17, 2023 |
| libX11 · ol 9 | 0:1.7.0-8.el9 | ELSA-2023-6497 | Nov 11, 2023 |
| libX11-common · RHEL 8 | 0:1.6.8-6.el8 | RHSA-2023:7029 | Nov 14, 2023 |
| libX11-common · RHEL 9 | 0:1.7.0-8.el9 | RHSA-2023:6497 | Nov 7, 2023 |
| libX11-common · almalinux 8 | 1.6.8-6.el8 | ALSA-2023:7029 | Nov 14, 2023 |
| libX11-common · almalinux 9 | 1.7.0-8.el9 | ALSA-2023:6497 | Nov 7, 2023 |
| libX11-common · amzn 2023 | 1.7.2-3.amzn2023.0.3 | ALAS2023-2023-250 | Jul 17, 2023 |
| libX11-common · ol 8 | 0:1.6.8-6.el8 | ELSA-2023-7029 | Nov 17, 2023 |
| libX11-common · ol 9 | 0:1.7.0-8.el9 | ELSA-2023-6497 | Nov 11, 2023 |
| libX11-debuginfo · amzn 2023 | 1.7.2-3.amzn2023.0.3 | ALAS2023-2023-250 | Jul 17, 2023 |
| libX11-debugsource · amzn 2023 | 1.7.2-3.amzn2023.0.3 | ALAS2023-2023-250 | Jul 17, 2023 |
| libX11-devel · RHEL 8 | 0:1.6.8-6.el8 | RHSA-2023:7029 | Nov 14, 2023 |
| libX11-devel · RHEL 9 | 0:1.7.0-8.el9 | RHSA-2023:6497 | Nov 7, 2023 |
| libX11-devel · almalinux 8 | 1.6.8-6.el8 | ALSA-2023:7029 | Nov 14, 2023 |
| libX11-devel · almalinux 9 | 1.7.0-8.el9 | ALSA-2023:6497 | Nov 7, 2023 |
| libX11-devel · amzn 2023 | 1.7.2-3.amzn2023.0.3 | ALAS2023-2023-250 | Jul 17, 2023 |
| libX11-devel · ol 8 | 0:1.6.8-6.el8 | ELSA-2023-7029 | Nov 17, 2023 |
| libX11-devel · ol 9 | 0:1.7.0-8.el9 | ELSA-2023-6497 | Nov 11, 2023 |
| libX11-xcb · RHEL 8 | 0:1.6.8-6.el8 | RHSA-2023:7029 | Nov 14, 2023 |
| libX11-xcb · RHEL 9 | 0:1.7.0-8.el9 | RHSA-2023:6497 | Nov 7, 2023 |
| libX11-xcb · almalinux 8 | 1.6.8-6.el8 | ALSA-2023:7029 | Nov 14, 2023 |
| libX11-xcb · almalinux 9 | 1.7.0-8.el9 | ALSA-2023:6497 | Nov 7, 2023 |
| libX11-xcb · amzn 2023 | 1.7.2-3.amzn2023.0.3 | ALAS2023-2023-250 | Jul 17, 2023 |
| libX11-xcb · ol 8 | 0:1.6.8-6.el8 | ELSA-2023-7029 | Nov 17, 2023 |
| libX11-xcb · ol 9 | 0:1.7.0-8.el9 | ELSA-2023-6497 | Nov 11, 2023 |
| libX11-xcb-debuginfo · amzn 2023 | 1.7.2-3.amzn2023.0.3 | ALAS2023-2023-250 | Jul 17, 2023 |
| libx11 · Debian 11.6 (bullseye) | 2:1.7.2-1+deb11u1 | DSA-5433-1 | Jun 21, 2023 |
| libx11 · Debian 12.15 (bookworm) | 2:1.8.4-2+deb12u1 | DSA-5433-1 | Jun 21, 2023 |
| libx11 · Debian 13.5 (trixie) | 2:1.8.6-1 | DEBIAN-CVE-2023-3138 | Jun 28, 2023 |
| libx11 · Debian 14 | 2:1.8.6-1 | DEBIAN-CVE-2023-3138 | Jun 28, 2023 |
| libx11-6 · Ubuntu 18.04.6 LTS (bionic) | 2:1.6.4-3ubuntu0.4+esm1 | libx11-6 2:1.6.4-3ubuntu0.4+esm1 | Jun 14, 2023 |
| libx11-6 · Ubuntu 20.04 LTS (focal) | 2:1.6.9-2ubuntu1.5 | libx11-6 2:1.6.9-2ubuntu1.5 | Jun 14, 2023 |
| libx11-6 · Ubuntu 22.04.1 LTS (jammy) | 2:1.7.5-1ubuntu0.2 | libx11-6 2:1.7.5-1ubuntu0.2 | Jun 14, 2023 |
| libx11-data · Ubuntu 18.04.6 LTS (bionic) | 2:1.6.4-3ubuntu0.4+esm1 | libx11-data 2:1.6.4-3ubuntu0.4+esm1 | Jun 14, 2023 |
| libx11-data · Ubuntu 20.04 LTS (focal) | 2:1.6.9-2ubuntu1.5 | libx11-data 2:1.6.9-2ubuntu1.5 | Jun 14, 2023 |
| libx11-data · Ubuntu 22.04.1 LTS (jammy) | 2:1.7.5-1ubuntu0.2 | libx11-data 2:1.7.5-1ubuntu0.2 | Jun 14, 2023 |
| libx11-xcb1 · Ubuntu 18.04.6 LTS (bionic) | 2:1.6.4-3ubuntu0.4+esm1 | libx11-xcb1 2:1.6.4-3ubuntu0.4+esm1 | Jun 14, 2023 |
| libx11-xcb1 · Ubuntu 20.04 LTS (focal) | 2:1.6.9-2ubuntu1.5 | libx11-xcb1 2:1.6.9-2ubuntu1.5 | Jun 14, 2023 |
| libx11-xcb1 · Ubuntu 22.04.1 LTS (jammy) | 2:1.7.5-1ubuntu0.2 | libx11-xcb1 2:1.7.5-1ubuntu0.2 | Jun 14, 2023 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.