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
Affected software:
X.org Server
Xwayland
Gentoo Linux
Debian Linux
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Workstation Extension 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Anolis OS
SUSE Enterprise Storage
OpenBSD
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
SUSE Linux Enterprise Server 12 SP5 LTSS
SUSE Linux Enterprise Server 12 SP5 LTSS Extended Security
Slackware Linux
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
SUSE Linux Enterprise Desktop 15 SP4 LTSS
Development Tools Module
Basesystem Module
openSUSE Leap
Ubuntu
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
xwayland-hwe-16.04 (Ubuntu package)
xserver-xorg-core-hwe-16.04 (Ubuntu package)
xwayland-hwe-18.04 (Ubuntu package)
xserver-xorg-core (Ubuntu package)
xserver-xorg-core-hwe-18.04 (Ubuntu package)
xwayland (Ubuntu package)
tigervnc (Red Hat package)
tigervnc-server-applet
tigervnc-license
tigervnc-icons
tigervnc-server-module
tigervnc-server-minimal
tigervnc-server
tigervnc
tigervnc-selinux
xorg-x11-server-extra-debuginfo
xorg-x11-server-extra
xorg-x11-server
xorg-x11-server-debuginfo
xorg-x11-server-debugsource
xorg-x11-server-sdk
xorg-x11-server-wayland
xorg-x11-server-wayland-debuginfo
xorg-x11-server-source
xorg-x11-server-help
xorg-x11-server-devel
xorg-x11-server-Xephyr
xorg-x11-server (Red Hat package)
xorg-x11-server-doc
xorg-x11-server-common
xorg-x11-server-Xvfb
xorg-x11-server-Xorg
xorg-x11-server-Xnest
xorg-x11-server-Xdmx
xorg-server
xorg-server-xvfb
xorg-server-xephyr
xorg-server-xnest
xorg-x11-server-Xwayland (Red Hat package)
xorg-server-xwayland
xwayland-debuginfo
xwayland-debugsource
xwayland-devel
xwayland
xorg-x11-server-Xvfb-debuginfo
xorg-server (Debian package)
x11-base/xorg-server
xorg-x11-server-Xwayland-doc
xorg-x11-server-Xwayland-devel
xorg-x11-server-Xwayland
x11-base/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