CVE-2026-50259: Xorg-x11-server: xorg-x11-server-xwayland: xorg-x11-server: stack buffer overflow in xkb setmap request via mapwidths indexing
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.
Security readout for executives and security teams
Plain-English summary
CVE-2026-50259 is a high-severity local vulnerability in X.Org X server and Xwayland. A logged-in user or local client could trigger memory corruption that may crash the graphical server or, where X runs as root, potentially elevate privileges. The provided sources do not show active exploitation.
Executive priority
Treat this as urgent for Linux desktops, VDI, jump hosts, and shared graphical servers. It is not described as remotely exploitable, but local privilege escalation risk can turn a limited account compromise into full system compromise on affected configurations.
Technical view
The flaw is a stack-based buffer overflow in XKB SetMap handling. _XkbSetMapChecks() uses a fixed mapWidths[256] stack buffer, while CheckKeyTypes() can write using a client-controlled key type index. Red Hat rates this CVSS 7.8 with local access, low complexity, low privileges, no user interaction, and high CIA impact.
Likely exposure
Exposure is most likely on affected RHEL 7 ELS, RHEL 8, RHEL 9, and RHEL 10 systems with xorg-x11-server, xorg-x11-server-Xwayland, or tigervnc packages installed. Multi-user graphical systems, workstations, VDI, and remote desktop environments should be prioritized.
Exploitation context
The attack is local and requires low-privileged access. The bundle says exploitation could crash the server or allow privilege escalation if the X server runs as root. KEV is false, and no cited source in the bundle confirms in-the-wild exploitation.
Researcher notes
Key uncertainty is exploitability beyond denial of service on specific deployments. The sources identify the vulnerable buffer and client-controlled indexing but do not provide exploit maturity, fixed version detail in this bundle, or non-Red Hat product coverage. Avoid assuming broader ecosystem impact without vendor confirmation.
Mitigation direction
Apply the relevant Red Hat RHSA updates for affected RHEL streams and packages.
Prioritize xorg-x11-server, xorg-x11-server-Xwayland, and tigervnc updates on graphical systems.
Follow Red Hat advisory guidance for product-specific fixed builds and reboot or restart requirements.
Reduce untrusted local access to affected graphical environments until updates are applied.
Validation and detection
Inventory installed xorg-x11-server, xorg-x11-server-Xwayland, and tigervnc packages across RHEL systems.
Compare installed package versions with the affected versions and relevant Red Hat advisories.
Check whether systems provide local, VDI, or remote graphical sessions.
Confirm patch deployment through package management records and vulnerability scanner rescans.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-121: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
7Timeline events
2ADP providers
27Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-121 · source CWE mapping
Stack-based Buffer Overflow
Stack-based Buffer Overflow represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.