CVE-2025-26598

HIGH CVSS 3.1: 7.8 EPSS 0.40%
Updated Nov 23, 2026
X.Org
Parameter Value
CVSS 7.8 (HIGH)
Affected Versions before 24.1.6
Fixed In 21.1.16
Type CWE-787 (Out-of-bounds Write)
Vendor X.Org
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 6

Configuration From (including) Up to (excluding)
Tigervnc Tigervnc
cpe:2.3:a:tigervnc:tigervnc:-:*:*:*:*:*:*:*
— —
X.Org X_Server
cpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:*
— 21.1.16
X.Org Xwayland
cpe:2.3:a:x.org:xwayland:*:*:*:*:*:*:*:*
— 24.1.6
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
— —
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
— —
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
— —