Use-after-free in X.org Server and Xwayland - CVE-2025-26600

 

Use-after-free in X.org Server and Xwayland - CVE-2025-26600

Published: February 25, 2025 / Updated: March 14, 2025


Vulnerability identifier: #VU104196
CSH Severity: Low
CVSS v4: 8.5 [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]
CVE-ID: CVE-2025-26600
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to a use-after-free error within the PlayReleasedEvents() function. A local user can execute arbitrary code with elevated privileges.


Affected software

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

How to mitigate CVE-2025-26600

Install updates from vendor's website.

X.org Server - update to 21.1.16
Xwayland - update to 24.1.6
xserver-xorg-core (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:1.20.13-1ubuntu1~20.04.19, 2:21.1.4-2ubuntu1.7~22.04.13, 2:21.1.12-1ubuntu1.2, 2:21.1.13-2ubuntu1.2
xwayland-hwe-16.04 (Ubuntu package) - update to Ubuntu Pro
xserver-xorg-core-hwe-16.04 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
xwayland-hwe-18.04 (Ubuntu package) - update to Ubuntu Pro
xserver-xorg-core-hwe-18.04 (Ubuntu package) - update to Ubuntu Pro
xwayland (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:1.20.13-1ubuntu1~20.04.19, 2:22.1.1-1ubuntu0.17, 2:23.2.6-1ubuntu0.4, 2:24.1.2-1ubuntu0.4
tigervnc-icons - addressed in versions 1.8.0-36, 1.13.1-9, 1.13.1-15
tigervnc - addressed in versions 1.8.0-36, 1.13.1-9, 1.13.1-15
tigervnc-server - addressed in versions 1.8.0-36, 1.13.1-9, 1.13.1-15
tigervnc-server-minimal - addressed in versions 1.8.0-36, 1.13.1-9, 1.13.1-15
tigervnc-server-module - addressed in versions 1.8.0-36, 1.13.1-9, 1.13.1-15
tigervnc-license - addressed in versions 1.8.0-36, 1.13.1-9, 1.13.1-15
tigervnc-server-applet - update to 1.8.0-36
tigervnc (Red Hat package) - addressed in versions 1.8.0-36.el7_9, 1.9.0-15.el8_2.13, 1.11.0-8.el8_4.12, 1.11.0-22.el9_0.13, 1.12.0-6.el8_6.13, 1.12.0-14.el9_2.10, 1.12.0-15.el8_8.12, 1.13.1-8.el9_4.5, 1.13.1-15.el8_10, 1.14.1-1.el9_5.1
tigervnc - addressed in versions 1.12.0, 1.15.0
tigervnc-doc - update to 1.13.1-9
tigervnc-selinux - addressed in versions 1.13.1-9, 1.13.1-15
tigervnc - addressed in versions 1.15.0-2.fc40, 1.15.0-2.fc42
xorg-x11-server-debuginfo - addressed in versions 1.19.6-10.80.1, 1.20.3-150200.22.5.102.1, 1.20.3-150400.38.54.1, 21.1.4-150500.7.32.1, 21.1.11-150600.5.6.1
xorg-x11-server - addressed in versions 1.19.6-10.80.1, 1.20.3-150200.22.5.102.1, 1.20.3-150400.38.54.1, 21.1.4-150500.7.32.1, 21.1.11-150600.5.6.1
xorg-x11-server-extra-debuginfo - addressed in versions 1.19.6-10.80.1, 1.20.3-150200.22.5.102.1, 1.20.3-150400.38.54.1, 21.1.4-150500.7.32.1, 21.1.11-150600.5.6.1
xorg-x11-server-debugsource - addressed in versions 1.19.6-10.80.1, 1.20.3-150200.22.5.102.1, 1.20.3-150400.38.54.1, 21.1.4-150500.7.32.1, 21.1.11-150600.5.6.1
xorg-x11-server-extra - addressed in versions 1.19.6-10.80.1, 1.20.3-150200.22.5.102.1, 1.20.3-150400.38.54.1, 21.1.4-150500.7.32.1, 21.1.11-150600.5.6.1
xorg-x11-server-sdk - addressed in versions 1.20.3-150200.22.5.102.1, 1.20.3-150400.38.54.1, 21.1.4-150500.7.32.1, 21.1.11-150600.5.6.1
xorg-x11-server-wayland-debuginfo - update to 1.20.3-150200.22.5.102.1
xorg-x11-server-wayland - update to 1.20.3-150200.22.5.102.1
xorg-x11-server-source - addressed in versions 1.20.3-150400.38.54.1, 21.1.4-150500.7.32.1, 21.1.11-150600.5.6.1
xorg-x11-server-common - addressed in versions 1.20.4-30, 1.20.14-19
xorg-x11-server-Xdmx - addressed in versions 1.20.4-30, 1.20.14-19
xorg-x11-server-Xephyr - addressed in versions 1.20.4-30, 1.20.14-19
xorg-x11-server-Xnest - addressed in versions 1.20.4-30, 1.20.14-19
xorg-x11-server-Xorg - addressed in versions 1.20.4-30, 1.20.14-19
xorg-x11-server-Xvfb - addressed in versions 1.20.4-30, 1.20.14-19
xorg-x11-server-Xwayland - addressed in versions 1.20.4-30, 23.2.5-3, 23.2.7-3
xorg-x11-server-source - addressed in versions 1.20.4-30, 1.20.14-19
xorg-x11-server-devel - addressed in versions 1.20.4-30, 1.20.14-19
xorg-x11-server (Red Hat package) - update to 1.20.4-30.el7_9
xorg-x11-server-help - update to 1.20.11-37
xorg-x11-server-source - update to 1.20.11-37
xorg-x11-server-devel - update to 1.20.11-37
xorg-x11-server-debugsource - update to 1.20.11-37
xorg-x11-server-debuginfo - update to 1.20.11-37
xorg-x11-server-common - update to 1.20.11-37
xorg-x11-server-Xvfb - update to 1.20.11-37
xorg-x11-server-Xnest - update to 1.20.11-37
xorg-x11-server-Xephyr - update to 1.20.11-37
xorg-x11-server-Xdmx - update to 1.20.11-37
xorg-x11-server - update to 1.20.11-37
xorg-server-xvfb - update to 1.20.14
xorg-server-xnest - update to 1.20.14
xorg-server-xephyr - update to 1.20.14
xorg-server - update to 1.20.14
xorg-x11-server - addressed in versions 1.20.14-37.fc40, 21.1.16-1.fc41, 21.1.16-1.fc42
xorg-server-xwayland - update to 21.1.4
xorg-x11-server-Xvfb-debuginfo - addressed in versions 21.1.4-150500.7.32.1, 21.1.11-150600.5.6.1
xorg-x11-server-Xvfb - addressed in versions 21.1.4-150500.7.32.1, 21.1.11-150600.5.6.1
xorg-server (Debian package) - update to 2:21.1.7-3+deb12u9
x11-base/xorg-server - update to 21.1.16
xorg-x11-server-Xwayland-doc - update to 23.2.5-3
xorg-x11-server-Xwayland-devel - update to 23.2.5-3
xwayland-devel - update to 24.1.1-150600.5.9.1
xwayland - update to 24.1.1-150600.5.9.1
xwayland-debuginfo - update to 24.1.1-150600.5.9.1
xwayland-debugsource - update to 24.1.1-150600.5.9.1
x11-base/xwayland - update to 24.1.6
xorg-x11-server-Xwayland - addressed in versions 24.1.6-1.fc40, 24.1.6-1.fc41, 24.1.6-1.fc42

External References

Related Security Bulletins