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

CVE-2025-26595: A buffer overflow flaw was found in X.Org and Xwayland. The code in XkbVModMaskText() allocates a fixed-sized buffer on the stack and copies the names of the…

high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
A buffer overflow flaw was found in X.Org and Xwayland. The code in XkbVModMaskText() allocates a fixed-sized buffer on the stack and copies the names of the virtual modifiers to that buffer. The code fails to check the bounds of the buffer and would copy the data regardless of the size.

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