What’s Vulnerable › Vulnerabilities

CVE-2023-6816: Xorg-x11-server: heap buffer overflow in devicefocusevent and procxiquerypointer

Description

A flaw was found in X.Org server. Both DeviceFocusEvent and the XIQueryPointer reply contain a bit for each logical button currently down. Buttons can be arbitrarily mapped to any value up to 255, but the X.Org Server was only allocating space for the device's particular number of buttons, leading to a heap overflow if a bigger value was used.

Affected products

How to fix

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

References

Get alerted when CVE-2023-6816 or the next vulnerability affects your stack