CVE-2025-26598 HIGH

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

Vendor Red Hat
Product Red Hat Enterprise Linux 6
Weakness CWE-787
Published February 25, 2025
Last update April 6, 2026

CVSS base score

7.8/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

February 25, 2025 CVE published
April 6, 2026 Record updated