Heap-based buffer overflow in X.org Server and Xwayland - CVE-2024-9632

 

Heap-based buffer overflow in X.org Server and Xwayland - CVE-2024-9632

Published: October 29, 2024 / Updated: November 6, 2024


Vulnerability identifier: #VU99493
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-9632
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: X.org
Affected software:
X.org Server
Xwayland

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error within the XkbSetCompatMap() function in xkb/xkb.c. A local user can pass a specially crafted bitmap to the X.Org server, trigger a heap-based buffer overflow and execute arbitrary code with elevated privileges.


How to mitigate CVE-2024-9632

Install updates from vendor's website.

Sources