Logo
vulnerabilityCVE-2024-31080
Name
CVE-2024-31080
Source
NVD ( link)Debian ( link)
Description
A heap-based buffer over-read vulnerability was found in the X.org server's ProcXIGetSelectedEvents() function. This issue occurs when byte-swapped length values are used in replies, potentially leading to memory leakage and segmentation faults, particularly when triggered by a client with a different endianness. This vulnerability could be exploited by an attacker to cause the X server to read heap memory values and then transmit them back to the client until encountering an unmapped page, resulting in a crash. Despite the attacker's inability to control the specific memory copied into the replies, the small length values typically stored in a 32-bit integer can result in significant attempted out-of-bounds reads.
Published Date
Updated Date
Workaround
-
Advisories

Analysis#


Affected Component
Analysis
xserver-xorg
Patched
xwayland
Patched

Vulnerability Ratings#


7.3
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
24.1.12
Not Affected
buildroot
master
24.1.12
Not Affected
yocto
master
21.1.23
Not Affected
yocto
master
24.1.12
Not Affected
yocto
scarthgap
21.1.18
Not Affected
yocto
scarthgap
23.2.5
Not Affected

Resolved with patches#


xserver-xorg (yocto:kirkstone)

#
Title
Author
Resolve
1
Xi: ProcXIGetSelectedEvents needs to use unswapped length to
Alan Coopersmith <alan.coopersmith@oracle.com>
CVE-2024-31080

xwayland (yocto:kirkstone)

#
Title
Author
Resolve
1
Xi: ProcXIGetSelectedEvents needs to use unswapped length to
Alan Coopersmith <alan.coopersmith@oracle.com>
CVE-2024-31080