CVE-2025-26598

published 25 Feb 2025 · updated 4 Nov 2026

Xorg: xwayland: out-of-bounds write in createpointerbarrierclient()

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.

An out-of-bounds write flaw was found in X.Org and Xwayland. The function GetBarrierDevice() searches for the pointer device based on its device ID and returns the matching value, or supposedly NULL, if no match was found. However, the code will return the last element of the list if no matching device ID is found, which can lead to out-of-bounds memory access.

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-26598 severity on Zeptric[![CVE-2025-26598](https://zeptric.io/badge/cve/CVE-2025-26598.svg)](https://zeptric.io/cve/CVE-2025-26598)