CVE-2023-3138
publishedlibX11: InitExt.c can overwrite unintended portions of the Display structure if the extension request leads to a buffer overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | libX11libX11 1.8.6 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2129 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-250 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | libX11 | Advisory build | 1.6.8-6.el8 | ALSA-2023:7029 |
| Oracle Linux | 8 | libX11aarch64 | Advisory build | 0:1.6.8-6.el8 | ELSA-2023-7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11aarch64 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Alpine Linux | v3.15 | libx11 | Fixed | 1.7.3.1-r1 | Package fix record |
| Debian | bookworm | libx11 | Advisory build | 2:1.8.4-2+deb12u1 | DSA-5433-1 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | libX11 | Advisory build | 1.7.0-8.el9 | ALSA-2023:6497 |
| Oracle Linux | 8 | libX11x86_64 | Advisory build | 0:1.6.8-6.el8 | ELSA-2023-7029 |
| Oracle Linux | 9 | libX11aarch64 | Advisory build | 0:1.7.0-8.el9 | ELSA-2023-6497 |
| Oracle Linux | 9 | libX11x86_64 | Advisory build | 0:1.7.0-8.el9 | ELSA-2023-6497 |
| Red Hat Enterprise Linux | RHEL-8 | libX11aarch64 | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11i686 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11i686 | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11ppc64le | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11ppc64le | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11s390x | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11s390x | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11src | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11src | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11x86_64 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11x86_64 | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-9 | libX11aarch64 | Advisory build | 1.7.0-8.el9 | RHSA-2023:6497 |
| Red Hat Enterprise Linux | RHEL-9 | libX11aarch64 | Advisory build | 1.7.0-8.el9_2 | RHSA-2024:1088 |
| Red Hat Enterprise Linux | RHEL-9 | libX11i686 | Advisory build | 1.7.0-8.el9 | RHSA-2023:6497 |
| Red Hat Enterprise Linux | RHEL-9 | libX11i686 | Advisory build | 1.7.0-8.el9_2 | RHSA-2024:1088 |
| Red Hat Enterprise Linux | RHEL-9 | libX11ppc64le | Advisory build | 1.7.0-8.el9 | RHSA-2023:6497 |
| Red Hat Enterprise Linux | RHEL-9 | libX11ppc64le | Advisory build | 1.7.0-8.el9_2 | RHSA-2024:1088 |
| Red Hat Enterprise Linux | RHEL-9 | libX11s390x | Advisory build | 1.7.0-8.el9 | RHSA-2023:6497 |
| Red Hat Enterprise Linux | RHEL-9 | libX11s390x | Advisory build | 1.7.0-8.el9_2 | RHSA-2024:1088 |
| Red Hat Enterprise Linux | RHEL-9 | libX11src | Advisory build | 1.7.0-8.el9 | RHSA-2023:6497 |
| Red Hat Enterprise Linux | RHEL-9 | libX11src | Advisory build | 1.7.0-8.el9_2 | RHSA-2024:1088 |
| Red Hat Enterprise Linux | RHEL-9 | libX11x86_64 | Advisory build | 1.7.0-8.el9 | RHSA-2023:6497 |
| Red Hat Enterprise Linux | RHEL-9 | libX11x86_64 | Advisory build | 1.7.0-8.el9_2 | RHSA-2024:1088 |
| AlmaLinux | 8 | libX11-common | Advisory build | 1.6.8-6.el8 | ALSA-2023:7029 |
| AlmaLinux | 8 | libX11-devel | Advisory build | 1.6.8-6.el8 | ALSA-2023:7029 |
| AlmaLinux | 8 | libX11-xcb | Advisory build | 1.6.8-6.el8 | ALSA-2023:7029 |
| AlmaLinux | 9 | libX11-common | Advisory build | 1.7.0-8.el9 | ALSA-2023:6497 |
| AlmaLinux | 9 | libX11-devel | Advisory build | 1.7.0-8.el9 | ALSA-2023:6497 |
| AlmaLinux | 9 | libX11-xcb | Advisory build | 1.7.0-8.el9 | ALSA-2023:6497 |
| Alpine Linux | v3.16 | libx11 | Fixed | 1.8-r1 | Package fix record |
| Alpine Linux | v3.17 | libx11 | Fixed | 1.8.4-r1 | Package fix record |
| Alpine Linux | v3.18 | libx11 | Fixed | 1.8.4-r4 | Package fix record |
| Debian | bullseye | libx11 | Advisory build | 2:1.7.2-1+deb11u1 | DSA-5433-1 |
| Debian | buster | libx11 | Advisory build | 2:1.6.7-1+deb10u3 | DLA-3472-1 |
| Oracle Linux | 8 | libX11-commonaarch64 | Advisory build | 0:1.6.8-6.el8 | ELSA-2023-7029 |
| Oracle Linux | 8 | libX11-commonx86_64 | Advisory build | 0:1.6.8-6.el8 | ELSA-2023-7029 |
| Oracle Linux | 8 | libX11-develaarch64 | Advisory build | 0:1.6.8-6.el8 | ELSA-2023-7029 |
| Oracle Linux | 8 | libX11-develx86_64 | Advisory build | 0:1.6.8-6.el8 | ELSA-2023-7029 |
| Oracle Linux | 8 | libX11-xcbaarch64 | Advisory build | 0:1.6.8-6.el8 | ELSA-2023-7029 |
| Oracle Linux | 8 | libX11-xcbx86_64 | Advisory build | 0:1.6.8-6.el8 | ELSA-2023-7029 |
| Oracle Linux | 9 | libX11-commonaarch64 | Advisory build | 0:1.7.0-8.el9 | ELSA-2023-6497 |
| Oracle Linux | 9 | libX11-commonx86_64 | Advisory build | 0:1.7.0-8.el9 | ELSA-2023-6497 |
| Oracle Linux | 9 | libX11-develaarch64 | Advisory build | 0:1.7.0-8.el9 | ELSA-2023-6497 |
| Oracle Linux | 9 | libX11-develx86_64 | Advisory build | 0:1.7.0-8.el9 | ELSA-2023-6497 |
| Oracle Linux | 9 | libX11-xcbaarch64 | Advisory build | 0:1.7.0-8.el9 | ELSA-2023-6497 |
| Oracle Linux | 9 | libX11-xcbx86_64 | Advisory build | 0:1.7.0-8.el9 | ELSA-2023-6497 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-commonnoarch | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-commonnoarch | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debuginfoaarch64 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debuginfoaarch64 | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debuginfoi686 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debuginfoi686 | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debuginfoppc64le | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debuginfoppc64le | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debuginfos390x | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debuginfos390x | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debuginfox86_64 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debuginfox86_64 | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debugsourceaarch64 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debugsourceaarch64 | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debugsourcei686 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debugsourcei686 | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debugsourceppc64le | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debugsourceppc64le | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debugsources390x | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debugsources390x | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debugsourcex86_64 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-debugsourcex86_64 | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-develaarch64 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-develaarch64 | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-develi686 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-develi686 | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-develppc64le | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-develppc64le | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-devels390x | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-devels390x | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-develx86_64 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-develx86_64 | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-xcbaarch64 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-xcbaarch64 | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-xcbi686 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-xcbi686 | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-xcbppc64le | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-xcbppc64le | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-xcbs390x | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-xcbs390x | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-xcbx86_64 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-xcbx86_64 | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-xcb-debuginfoaarch64 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-xcb-debuginfoaarch64 | Advisory build | 1.6.8-6.el8_8 | RHSA-2024:1417 |
| Red Hat Enterprise Linux | RHEL-8 | libX11-xcb-debuginfoi686 | Advisory build | 1.6.8-6.el8 | RHSA-2023:7029 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | libX11 | libX11 1.8.6 (affected) | redhat · cna |
Weaknesses
1- CWE-119
References
5- https://access.redhat.com/security/cve/CVE-2023-3138
- https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0f00d8998185f0360332cfa36c
- https://lists.x.org/archives/xorg-announce/2023-June/003406.html
- https://lists.x.org/archives/xorg-announce/2023-June/003407.html
- https://security.netapp.com/advisory/ntap-20231208-0008/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 080067fd52fa2b6cf40f71b97ef5f562616e5601751b9fc48ae2f6df2a2aef6c
- Ingested
- 23 Sep 2026, 08:10:53 UTC
- Source record
- Official CVE record