What’s Vulnerable › Vulnerabilities

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

Description

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 products

How to fix

Upgrade to a fixed version: xorg-x11-server 21.1.16; X.Org xwayland 24.1.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-26598 or the next vulnerability affects your stack