CVE-2025-26595: Xorg: xwayland: buffer overflow in xkbvmodmasktext()
A buffer overflow flaw was found in X.Org and Xwayland. The code in XkbVModMaskText() allocates a fixed-sized buffer on the stack and copies the names of the virtual modifiers to that buffer. The code fails to check the bounds of the buffer and would copy the data regardless of the size.
Security readout for executives and security teams
Plain-English summary
CVE-2025-26595 is a high-severity memory safety flaw in X.Org/Xwayland code used by graphical Linux environments. A local authenticated user could potentially crash the service or gain high-impact access on affected systems. Exposure is most relevant on systems providing local desktops, Xwayland sessions, or VNC-based graphical access.
Executive priority
Prioritize patching where Linux graphical access supports administrators, developers, jump hosts, or VNC users. This is not described as remotely exploitable from the network, but a successful local attack could have full confidentiality, integrity, and availability impact on affected hosts.
Technical view
XkbVModMaskText() uses a fixed-size stack buffer and copies virtual modifier names without bounds checks, creating a CWE-121 stack-based buffer overflow. The CVSS 3.1 vector is local, low complexity, low privileges, no user interaction, with high confidentiality, integrity, and availability impact.
Likely exposure
The source bundle lists affected Red Hat xorg-x11-server, xorg-x11-server-Xwayland, and tigervnc packages across RHEL 6 ELS, 7 ELS, 8, 9, 10, and selected AUS/EUS/E4S/TUS streams. Non-Red Hat xserver 22.0.0 exposure is noted, but vendor coverage is incomplete.
Exploitation context
The record supports local exploitation only: attack vector is local and privileges are required. The bundle says KEV is false and provides no cited evidence of active exploitation. Treat internet-facing VNC or shared desktop infrastructure as higher operational priority because local access may be easier to obtain there.
Researcher notes
Evidence identifies the vulnerable function and package families, but the bundle does not include exploit proof, weaponization details, or fixed package version mapping beyond RHSA references. Focus validation on package provenance, advisory applicability, and whether Xwayland, X.Org server, or TigerVNC code paths are installed and reachable.
Mitigation direction
Apply the relevant Red Hat RHSA updates for affected xorg-x11-server, Xwayland, and tigervnc packages.
Check upstream or distribution vendor guidance for non-Red Hat X.Org, Xwayland, or xserver builds.
Prioritize multi-user desktops, jump hosts, VNC servers, and systems running untrusted local workloads.
Limit local shell and remote graphical access until affected packages are updated.
Monitor Red Hat CVE and errata pages for revised affected-package or fix information.
Validation and detection
Inventory installed xorg-x11-server, xorg-x11-server-Xwayland, tigervnc, and xserver package versions.
Map operating system streams against the affected Red Hat product list in the source bundle.
Confirm the applicable RHSA advisory has been applied through approved patch management evidence.
Validate graphical login, Xwayland application launch, and VNC workflows after patching.
Record exceptions where vendor guidance is unavailable or systems are outside listed Red Hat streams.
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.
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.
1CVSS vectors
5Timeline events
2ADP providers
19Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
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.