cbcvebase.
CVE-2025-26598
published 2025-02-25

CVE-2025-26598: 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…

high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
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

16 ranges
VendorProductVersion rangeFixed in
debianxorg-server< xorg-server 2:21.1.7-3+deb12u9 (bookworm)xorg-server 2:21.1.7-3+deb12u9 (bookworm)
debianxwayland< xorg-server 2:21.1.7-3+deb12u9 (bookworm)xorg-server 2:21.1.7-3+deb12u9 (bookworm)
msrcazl3_xorg-x11-server-xwayland_24.1.1-3_on_azure_linux_3.0
msrcazl3_xorg-x11-server-xwayland_24.1.6-1_on_azure_linux_3.0
msrccbl2_xorg-x11-server_1.20.10-15_on_cbl_mariner_2.0
redhatenterprise_linux
redhatenterprise_linux
redhatenterprise_linux
x.orgx_server< 21.1.1621.1.16
x.orgxorg-server>= 0 < 2:1.20.11-1+deb11u152:1.20.11-1+deb11u15
x.orgxorg-server>= 0 < 2:21.1.7-3+deb12u92:21.1.7-3+deb12u9
x.orgxorg-server>= 0 < 2:21.1.16-12:21.1.16-1
x.orgxorg-server>= 0 < 2:21.1.16-12:21.1.16-1
x.orgxwayland< 24.1.624.1.6
x.orgxwayland>= 0 < 2:24.1.6-12:24.1.6-1
x.orgxwayland>= 0 < 2:24.1.6-12:24.1.6-1

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH