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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Debian | 12 | all | xorg-server | < 2:21.1.7-3+deb12u7 | xorg-server_2:21.1.7-3+deb12u7_all.deb |
Debian | 11 | all | xorg-server | < 2:1.20.11-1+deb11u13 | xorg-server_2:1.20.11-1+deb11u13_all.deb |
Debian | 10 | all | xorg-server | < 2:1.20.4-1+deb10u14 | xorg-server_2:1.20.4-1+deb10u14_all.deb |
Debian | 999 | all | xorg-server | < 2:21.1.11-3 | xorg-server_2:21.1.11-3_all.deb |
Debian | 13 | all | xorg-server | < 2:21.1.11-3 | xorg-server_2:21.1.11-3_all.deb |
Debian | 12 | all | xwayland | <= 2:22.1.9-1 | xwayland_2:22.1.9-1_all.deb |
Debian | 999 | all | xwayland | < 2:23.2.6-1 | xwayland_2:23.2.6-1_all.deb |
Debian | 13 | all | xwayland | < 2:23.2.6-1 | xwayland_2:23.2.6-1_all.deb |