CVE-2025-26595

published 25 Feb 2025 · updated 4 Nov 2026

Xorg: xwayland: buffer overflow in xkbvmodmasktext()

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 24.1.6 and 21.1.16.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatEnterprise Linux
TigerVNCtigervnc
X.Orgxwayland<24.1.624.1.6
X.Orgx_server<21.1.1621.1.16
redhatenterprise_linux=7.0, =9.0, =8.0
>=22.0.0 <24.1.6, <21.1.1624.1.6, 21.1.16

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-26595 severity on Zeptric[![CVE-2025-26595](https://zeptric.io/badge/cve/CVE-2025-26595.svg)](https://zeptric.io/cve/CVE-2025-26595)