What’s Vulnerable › Vulnerabilities

CVE-2025-26595: Xorg: xwayland: buffer overflow in xkbvmodmasktext()

Description

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 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-26595 or the next vulnerability affects your stack