CVE-2026-50259

Published Jun 5, 2026

Last updated an hour ago

CVSS high 7.8
X.Org X server
Xwayland

Overview

AI description

Automated description summarized from trusted sources.

CVE-2026-50259 describes a stack-based buffer overflow vulnerability affecting the X.Org X server and Xwayland. The flaw originates within the `_XkbSetMapChecks()` function, which utilizes a fixed-size stack buffer named `mapWidths[256]`. A client-controlled offset allows the helper function `CheckKeyTypes()` to write beyond the bounds of this buffer, resulting in a stack buffer overflow. This vulnerability could potentially be exploited to crash the server or to achieve privilege escalation if the X server is operating with root privileges.

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
secalert@redhat.com
NVD status
Modified
Products
x_server, xwayland, enterprise_linux

Risk scores

CVSS 3.1

Type
Secondary
Base score
7.8
Impact score
5.9
Exploitability score
1.8
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity
HIGH

Weaknesses

secalert@redhat.com
CWE-121
0b0ca135-0b70-47e7-9f44-1890c2a1c46c
CWE-121

Social media

Hype score
Not currently trending

Configurations

References

Sources include official advisories and independent security research.