CVE-2026-50259
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. _XkbSetMapChecks() declares a fixed-size stack buffer mapWidths[256] indexed by key type index. The helper function CheckKeyTypes() writes to this buffer at a client-controlled offset, allowing a stack buffer overflow. 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-50259
- [Other]https://access.redhat.com/security/cve/CVE-2026-50259
- [Other]https://bugzilla.redhat.com/show_bug.cgi?id=2485384
- [Patch]https://gitlab.freedesktop.org/xorg/xserver/-/commit/867b59b33bee669cb412f1314e47c52eacf6e00b
- [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-50258 — 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