Cloudanix VulnDB

CVE-2025-26601

High · 7.8

CVSS

7.8

EPSS

0.4%

Published

Feb 25, 2025

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A programming mistake in the display server lets a logged-in user crash or take control of the graphical interface.

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

What it actually does

A use-after-free flaw occurs in X.Org and Xwayland alarm handling: when changing an alarm, change mask values are evaluated sequentially and SyncInitTrigger() is called; an error during changes causes an early return without adding the new sync object, leaving a dangling reference that is later dereferenced when the alarm triggers.

Why it matters to the business

Local attackers can crash the display server or potentially execute arbitrary code with the privileges of the X server process, disrupting graphical sessions and enabling privilege escalation on multi-user systems.

How an attack unfolds

An attacker with a local account sends crafted alarm-change requests to the X server; by forcing an error in one of the sequential mask evaluations the server returns early without registering the new sync object, resulting in a use-after-free that the attacker then triggers and exploits for memory corruption and code execution.

How to fix it

Upgrade the affected X.Org and Xwayland packages to versions that contain the fix for this use-after-free; apply vendor updates as soon as they become available.

How to confirm the fix worked

Confirm the installed X server version is newer than the vulnerable release, review package changelogs for the alarm-handling correction, and test that alarm modification operations no longer produce early returns without proper object registration.

Typical attack path

  1. Obtain a local user account on the target system
  2. Connect to the X.Org or Xwayland server and issue alarm modification requests
  3. Craft a change-mask sequence that triggers an error path
  4. Trigger the dangling alarm to dereference freed memory
  5. Leverage the use-after-free for arbitrary code execution

How to detect it

Review X server logs and system crash reports for unexpected terminations during alarm or sync object operations; look for repeated local client connections issuing SyncSetAlarm or similar requests shortly before crashes.

What your security team should do

  • Prioritize patching X.Org and Xwayland on all multi-user and graphical workstations
  • Restrict local access where possible until patches are deployed
  • Monitor for X server crashes correlated with alarm-related operations

The record

A use-after-free flaw was found in X.Org and Xwayland. When changing an alarm, the values of the change mask are evaluated one after the other, changing the trigger values as requested, and eventually, SyncInitTrigger() is called. If one of the changes triggers an error, the function will return early, not adding the new sync object, possibly causing a use-after-free when the alarm eventually triggers.

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