What’s Vulnerable › Vulnerabilities

CVE-2025-26597: Xorg: xwayland: buffer overflow in xkbchangetypesofkey()

Description

A buffer overflow flaw was found in X.Org and Xwayland. If XkbChangeTypesOfKey() is called with a 0 group, it will resize the key symbols table to 0 but leave the key actions unchanged. If the same function is later called with a non-zero value of groups, this will cause a buffer overflow because the key actions are of the wrong 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-26597 or the next vulnerability affects your stack