Xorg-x11-server: heap buffer overflow in devicefocusevent and procxiquerypointer
Red Hat / Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION、Red Hat Enterprise Linux 7、Red Hat Enterprise Linux 8、Red Hat Enterprise Linux 8.2 Advanced Update Support、Red Hat Enterprise Linux 8.2 Telecommunications Update Service、Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions +9
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.