Xorg-x11-server: heap buffer overread/data leakage in procxigetselectedevents
CVE-2024-31080
7.3HIGH
Key Information:
- Status
- Vendor
- CVE Published:
- 4 April 2024
What is CVE-2024-31080?
A vulnerability exists within the X.org server's ProcXIGetSelectedEvents() function due to a heap-based buffer over-read caused by improper handling of byte-swapped length values in replies. This issue can lead to unintended memory leakage and potential segmentation faults, especially when a malicious client with a different endianness triggers the condition. Although attackers cannot control the exact memory content being read, they can exploit this flaw to initiate out-of-bounds reads, causing the X server to access and potentially transmit sensitive heap memory values back to the client. This scenario may ultimately lead to a crash due to accessing unmapped memory pages.