VulnWatch by ve1ve2
high 7.3 EPSS 0.42%

DEBIAN-CVE-2024-31080: A heap-based buffer over-read vulnerability was found in the X.org server's ProcXIGetSelectedEvents() function. This issue occurs when byte-swapped length valu…

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
debian 12:xorg-server

https://osv.dev/vulnerability/DEBIAN-CVE-2024-31080 ↗

osvdebianfix-available

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. Affected: Debian:12:xorg-server, Debian:12:xwayland, Debian:13:xorg-server, Debian:13:xwayland, Debian:14:xorg-server, Debian:14:xwayland Fixed in: 2:21.1.7-3+deb12u7, 2:21.1.11-3, 2:23.2.6-1 References: https://security-tracker.debian.org/tracker/CVE-2024-31080

Linked vulnerabilities (1)

CVE-2024-31080 high 7.3 EPSS 0.42% (p28) NVDCVE.org
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H

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...

CWE: CWE-126NVD: Deferred

Also reported by (1)