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.
References
| Link | Resource |
|---|---|
| https://access.redhat.com/security/cve/CVE-2026-50259 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2485384 | Issue Tracking Third Party Advisory |
| https://gitlab.freedesktop.org/xorg/xserver/-/commit/867b59b33bee669cb412f1314e47c52eacf6e00b | Patch |
| https://lists.x.org/archives/xorg-announce/2026-June/003702.html | Mailing List Third Party Advisory |
| https://redhat.atlassian.net/browse/PSIRTSUPT-16950 | Permissions Required |
Configurations
Configuration 1 (hide)
|
History
08 Jun 2026, 18:28
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Redhat enterprise Linux
Redhat X.org X.org xwayland X.org x Server |
|
| References | () https://access.redhat.com/security/cve/CVE-2026-50259 - Third Party Advisory | |
| References | () https://bugzilla.redhat.com/show_bug.cgi?id=2485384 - Issue Tracking, Third Party Advisory | |
| References | () https://gitlab.freedesktop.org/xorg/xserver/-/commit/867b59b33bee669cb412f1314e47c52eacf6e00b - Patch | |
| References | () https://lists.x.org/archives/xorg-announce/2026-June/003702.html - Mailing List, Third Party Advisory | |
| References | () https://redhat.atlassian.net/browse/PSIRTSUPT-16950 - Permissions Required | |
| CPE | cpe:2.3:a:x.org:xwayland:*:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* cpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
05 Jun 2026, 12:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-05 12:16
Updated : 2026-06-08 18:28
NVD link : CVE-2026-50259
Mitre link : CVE-2026-50259
CVE.ORG link : CVE-2026-50259
JSON object : View
Products Affected
x.org
- x_server
- xwayland
redhat
- enterprise_linux
CWE
CWE-121
Stack-based Buffer Overflow
