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.
Affected products
x.org: x server; x.org: xwayland; redhat: enterprise linux
References10
- gitlab.freedesktop.org/xorg/xserver/-/commit/543e108516428fc8c3… Patch
- 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
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 5 · as of 15 November 2026
- CWE
- CWE-121
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.