CVE-2026-50258
7.8 HIGHA stack-based buffer overflow flaw was found in the X.Org X server and Xwayland
Published: 2026-06-05 · Last updated: 2026-06-08
Severity and scoring
- CVSS
- 7.8 HIGH
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CWE
- CWE-121
Affected products
| Vendor | Product |
|---|---|
| redhat | enterprise_linux, x_server, xwayland |
| x.org | enterprise_linux, x_server, xwayland |
Description
A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland. The X server has multiple stack buffers sized XkbMaxShiftLevel * XkbNumKbdGroups but CheckKeyTypes() does not verify or clamp non-canonical key types to XkbMaxShiftLevel. A client can change key types to excessive shift levels and trigger stack overflows. This is caused by an incomplete fix of CVE-2025-26597. This may be used to crash the server, or for privilege escalation if the X server runs as root.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-50258
- [Other]https://access.redhat.com/security/cve/CVE-2026-50258
- [Other]https://bugzilla.redhat.com/show_bug.cgi?id=2485383
- [Patch]https://gitlab.freedesktop.org/xorg/xserver/-/commit/543e108516428fc8c3bea91d6563ad266f9a801e
- [Other]https://lists.x.org/archives/xorg-announce/2026-June/003702.html
- [Other]https://redhat.atlassian.net/browse/PSIRTSUPT-16950
Related CVEs
Same vendor
- CVE-2026-50259 — A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland (7.8 HIGH)
- CVE-2026-50257 — A use-after-free flaw was found in the X.Org X server and Xwayland in miSyncDestroyFence() (7.8 HIGH)
- CVE-2026-50256 — A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland (7.8 HIGH)
- CVE-2026-1784 — The Route OpenShift resource allows to define routes to make pods reachable at a subdomain through HAProxy (8.8 HIGH)
- CVE-2026-10533 — A flaw was found in OpenShift Container Platform (5.0 MEDIUM)
Same CWE
- CVE-2026-49760 — Stack-based Buffer Overflow vulnerability in Erlang OTP (erl_interface) allows Stack-based Buffer Overflow
- CVE-2026-49759 — Stack-based Buffer Overflow vulnerability in Erlang OTP erts (inet_drv) allows an unauthenticated remote attacker to crash the BEAM VM by...
- CVE-2026-26241 — A buffer overflow vulnerability has been reported to affect File Station 5
- CVE-2026-26240 — A buffer overflow vulnerability has been reported to affect File Station 5
- CVE-2026-26239 — A buffer overflow vulnerability has been reported to affect File Station 5