Memory corruption in libX11
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 4 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | libX11 | libX11 1.8.6 | — | No fix listed | CNA |
- libX11 Vendor— Affected libX11 1.8.6 Fixed in — No fix listed CNA
Remediation
Red Hat 4 advisories
- RHSA-2024:1417 Released 2024-03-19 · Red Hat rating ModeratelibX11 security update
- Red Hat Enterprise Linux AppStream EUS (v.8.8) libX11-1.6.8-6.el8_8, libX11-common-1.6.8-6.el8_8, libX11-devel-1.6.8-6.el8_8 +1
- RHSA-2024:1088 Released 2024-03-05 · Red Hat rating ModeratelibX11 security update
- Red Hat Enterprise Linux AppStream EUS (v.9.2) libX11-1.7.0-8.el9_2, libX11-common-1.7.0-8.el9_2, libX11-devel-1.7.0-8.el9_2 +1
- RHSA-2023:7029 Released 2023-11-14 · Red Hat rating ModeratelibX11 security update
- Red Hat Enterprise Linux AppStream (v. 8) libX11-1.6.8-6.el8, libX11-common-1.6.8-6.el8, libX11-devel-1.6.8-6.el8 +1
Show 1 more Red Hat advisories
- RHSA-2023:6497 Released 2023-11-07 · Red Hat rating ModeratelibX11 security update
- Red Hat Enterprise Linux AppStream (v. 9) libX11-1.7.0-8.el9, libX11-common-1.7.0-8.el9, libX11-devel-1.7.0-8.el9 +1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2023:7029 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:6497 |
| Red Hat Enterprise Linux AppStream EUS (v.8.8) | Fixed | RHSA-2024:1417 |
| Red Hat Enterprise Linux AppStream EUS (v.9.2) | Fixed | RHSA-2024:1088 |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-3138
- 2026-10-03 Alias added: GHSA-849h-8wj5-xmx8
References
Patch 3
Sources
- CVE-2023-3138 · CVE Program
- CVE-2023-3138 · NVD
- FIRST EPSS
- GHSA-849h-8wj5-xmx8 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-3138 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences