1. Home
  2. Vulnerabilities
  3. CVE-2023-3138

CVE-2023-3138

A vulnerability was found in libX11. The security flaw occurs because the functions in src/InitExt.c in…

Published 28 Jun 2023 · modified 17 Jun 2026 · Sources: NVD, EPSS (FIRST)

Medium 52/100

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.

Affected products and versions

Redhat (2 line(s))
Redhat
ProductVersionsFixed inSource
Enterprise linux 8.0 — NVD
Enterprise linux 9.0 — NVD
X.org (1 line(s))
X.org
ProductVersionsFixed inSource
Libx11 before 1.8.6 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-787 · Corruption mémoire

How this data is obtained and calculated