CVE-2026-50259
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.
How to fix
- x.org xwayland24.1.12 or later
- x.org x_server21.1.23 or later
- access.redhat.com/errata/RHSA-2026:26562
- access.redhat.com/errata/RHSA-2026:26566
- access.redhat.com/errata/RHSA-2026:26590
- access.redhat.com/errata/RHSA-2026:26610
- access.redhat.com/errata/RHSA-2026:26709
- access.redhat.com/errata/RHSA-2026:28923
- access.redhat.com/errata/RHSA-2026:29844
- access.redhat.com/errata/RHSA-2026:36083
- access.redhat.com/errata/RHSA-2026:36085
- access.redhat.com/errata/RHSA-2026:36086
- access.redhat.com/errata/RHSA-2026:36087
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| x.org xwayland | v < 24.1.12 | 24.1.12 |
| x.org x_server | v < 21.1.23 | 21.1.23 |
| redhat enterprise_linux | 7.0, 8.0, 9.0, 10.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.