Heap Overflow Vulnerability in X.Org Server Due to Insufficient Space Allocation for Mapped Buttons

Heap Overflow Vulnerability in X.Org Server Due to Insufficient Space Allocation for Mapped Buttons

CVE-2023-6816 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Cis Benchmark Audit For Server Software.