CVE-2026-50258

Public on 2026-06-05
Modified on 2026-06-08
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.
Severity
Important severity
Important
See what this means
CVSS v3 Base Score
7.8
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2023 tigervnc Pending Fix
Amazon Linux 2 - Core xorg-x11-server 2026-06-08 ALAS2-2026-3336 Fixed
Amazon Linux 2023 xorg-x11-server 2026-06-08 ALAS2023-2026-1790 Fixed
Amazon Linux 2023 xorg-x11-server-Xwayland 2026-06-08 ALAS2023-2026-1789 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H