Cloudanix VulnDB

CVE-2025-26600

High · 7.8

CVSS

7.8

EPSS

0.4%

Published

Feb 25, 2025

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in the software that draws windows and handles keyboards and mice on many Linux computers could let someone who already has access to the machine take full control of it.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Full Compromise
Component
Application
Class
Use After Free
Remediation
Patch
Effort
Medium
Patch risk
Low

What it actually does

Use-after-free in the X server event handling path: a frozen input device that is removed leaves queued events referencing freed device structures; subsequent replay of those events triggers memory corruption with full local read/write/execute primitives.

Why it matters to the business

Local attackers on affected Linux desktops and servers can obtain arbitrary code execution inside the X server process, leading to full user-session compromise, potential privilege escalation, and disruption of graphical workloads; the issue affects widely deployed display servers and downstream products such as TigerVNC and RHEL.

How an attack unfolds

An attacker with a local session freezes an input device, removes it while events remain queued, then forces event replay; the resulting use-after-free is leveraged to corrupt memory and execute attacker-controlled code within the X server.

How to fix it

Upgrade X.Org server, Xwayland, and TigerVNC packages to the first versions containing the fix once released by upstream and distribution maintainers; apply vendor updates for Red Hat Enterprise Linux as they become available; until patches are published, restrict local device access and monitor for new releases.

How to confirm the fix worked

Compare installed package versions of xorg-x11-server, xwayland, and tigervnc against upstream changelogs or distribution security advisories; run regression tests that exercise device freeze/remove/replay sequences in a lab environment; confirm absence of the vulnerable code path via source or binary diff after update.

Typical attack path

  1. Obtain local shell or graphical session on target system
  2. Identify and freeze an active input device via X input protocol
  3. Trigger device removal while events are still queued
  4. Force replay of queued events to trigger use-after-free
  5. Achieve memory corruption and execute payload inside X server process

How to detect it

Review X server logs and journald entries for unexpected device removal events followed by crashes or memory errors; inspect core dumps and audit logs for abnormal input-device or event-queue activity on systems running the affected packages.

What your security team should do

  • Subscribe to X.Org, Xwayland, TigerVNC, and RHEL security mailing lists for patch announcements
  • Prioritize patching of multi-user or internet-facing graphical systems once fixes are released
  • Apply least-privilege controls on local device and input event access until updates are deployed
  • Include X server crash and memory-corruption indicators in existing endpoint detection rules

The record

A use-after-free flaw was found in X.Org and Xwayland. When a device is removed while still frozen, the events queued for that device remain while the device is freed. Replaying the events will cause a use-after-free.

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:8 tigervnc 0 1.13.1-15.el8_10
AlmaLinux:8 tigervnc-icons 0 1.13.1-15.el8_10
AlmaLinux:8 tigervnc-license 0 1.13.1-15.el8_10
AlmaLinux:8 tigervnc-selinux 0 1.13.1-15.el8_10
AlmaLinux:8 tigervnc-server 0 1.13.1-15.el8_10
AlmaLinux:8 tigervnc-server-minimal 0 1.13.1-15.el8_10
AlmaLinux:8 tigervnc-server-module 0 1.13.1-15.el8_10
AlmaLinux:9 tigervnc 0 1.14.1-1.el9_5.1
AlmaLinux:9 tigervnc-icons 0 1.14.1-1.el9_5.1
AlmaLinux:9 tigervnc-license 0 1.14.1-1.el9_5.1
AlmaLinux:9 tigervnc-selinux 0 1.14.1-1.el9_5.1
AlmaLinux:9 tigervnc-server 0 1.14.1-1.el9_5.1
AlmaLinux:9 tigervnc-server-minimal 0 1.14.1-1.el9_5.1
AlmaLinux:9 tigervnc-server-module 0 1.14.1-1.el9_5.1
AlmaLinux:9 xorg-x11-server-Xdmx 0 1.20.11-28.el9_6
AlmaLinux:9 xorg-x11-server-Xephyr 0 1.20.11-28.el9_6
AlmaLinux:9 xorg-x11-server-Xnest 0 1.20.11-28.el9_6
AlmaLinux:9 xorg-x11-server-Xorg 0 1.20.11-28.el9_6
AlmaLinux:9 xorg-x11-server-Xvfb 0 1.20.11-28.el9_6
AlmaLinux:9 xorg-x11-server-Xwayland 0 23.2.7-3.el9_6
AlmaLinux:9 xorg-x11-server-Xwayland-devel 0 23.2.7-3.el9_6
AlmaLinux:9 xorg-x11-server-common 0 1.20.11-28.el9_6
AlmaLinux:9 xorg-x11-server-devel 0 1.20.11-28.el9_6
AlmaLinux:9 xorg-x11-server-source 0 1.20.11-28.el9_6
Debian:11 xorg-server 0 No fix
Debian:11 xorg-server 0 2:1.20.11-1+deb11u15
Debian:12 xorg-server 0 No fix
Debian:12 xorg-server 0 2:21.1.7-3+deb12u9
Debian:12 xwayland 0 No fix
Debian:13 xorg-server 0 No fix
Debian:13 xwayland 0 No fix
Mageia:9 tigervnc 0 1.13.1-2.7.mga9
Mageia:9 x11-server 0 21.1.8-7.7.mga9
Mageia:9 x11-server-xwayland 0 22.1.9-1.7.mga9
SUSE:Enterprise Storage 7.1 xorg-x11-server 0 1.20.3-150200.22.5.102.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS xorg-x11-server 0 1.20.3-150200.22.5.102.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS xorg-x11-server 0 1.20.3-150400.38.54.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS xorg-x11-server 0 1.20.3-150400.38.54.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS xorg-x11-server 0 21.1.4-150500.7.32.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS xorg-x11-server 0 21.1.4-150500.7.32.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6 xorg-x11-server 0 21.1.11-150600.5.6.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6 xorg-x11-server 0 21.1.11-150600.5.6.1
SUSE:Linux Enterprise Server 12 SP5-LTSS xorg-x11-server 0 1.19.6-10.80.1
SUSE:Linux Enterprise Server 15 SP3-LTSS xorg-x11-server 0 1.20.3-150200.22.5.102.1
SUSE:Linux Enterprise Server 15 SP4-LTSS xorg-x11-server 0 1.20.3-150400.38.54.1
SUSE:Linux Enterprise Server 15 SP5-LTSS xorg-x11-server 0 21.1.4-150500.7.32.1
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 xorg-x11-server 0 1.19.6-10.80.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 xorg-x11-server 0 1.20.3-150200.22.5.102.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP4 xorg-x11-server 0 1.20.3-150400.38.54.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP5 xorg-x11-server 0 21.1.4-150500.7.32.1
SUSE:Linux Enterprise Workstation Extension 15 SP6 xorg-x11-server 0 1.20.3-150200.22.5.102.1
SUSE:Linux Enterprise Workstation Extension 15 SP6 xwayland 0 24.1.1-150600.5.9.1
SUSE:Manager Proxy 4.3 xorg-x11-server 0 1.20.3-150400.38.54.1
SUSE:Manager Server 4.3 xorg-x11-server 0 1.20.3-150400.38.54.1
openSUSE:Leap 15.6 xorg-x11-server 0 21.1.11-150600.5.6.1
openSUSE:Leap 15.6 xwayland 0 24.1.1-150600.5.9.1
openSUSE:Tumbleweed xorg-x11-server 0 21.1.15-2.1
openSUSE:Tumbleweed xwayland 0 24.1.5-2.1

Related vulnerabilities