CVE-2025-26594
High · 7.8CVSS
7.8
EPSS
0.4%
Published
Feb 25, 2025
CISA due date
—
Cloudanix analysis
A memory-handling mistake in the software that draws your screen lets someone who is already logged in take full control of the computer.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- Use After Free
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A use-after-free occurs because the X server maintains a global reference to the root cursor; when a client frees that cursor the reference becomes a dangling pointer to freed memory.
Why it matters to the business
Local attackers can crash the graphical session or execute arbitrary code, resulting in loss of workstation availability and potential full system compromise on any system running the affected display server.
How an attack unfolds
An authenticated local user interacts with the X server to free the root cursor object, then performs subsequent operations that dereference the now-invalid global pointer, leading to memory corruption that is turned into code execution.
How to fix it
Upgrade the X.Org server and Xwayland packages to versions containing the fix that removes or properly manages the global root-cursor reference; for radare2 (OSS-Fuzz) apply commit 74958b8e88879302d6f61a813943b968cf03dbd5.
How to confirm the fix worked
Confirm the installed X server or radare2 binary contains the referenced commit or later; run regression test suites that exercise cursor creation and destruction paths under memory-debugging tools.
Typical attack path
- Obtain a local shell on the target system
- Use an X client to free the root cursor
- Trigger server code paths that read the dangling global reference
- Leverage the resulting memory corruption for privilege escalation or code execution
How to detect it
Review X server logs and system audit trails for unusual cursor or window operations originating from untrusted local processes; inspect core dumps or sanitizer reports showing use-after-free patterns involving cursor objects.
What your security team should do
- Apply the vendor-supplied updates immediately on all systems exposing X.Org or Xwayland
- Restrict local user accounts to the minimum privileges required
- Monitor for new exploit code targeting this class of use-after-free in display servers
The record
A use-after-free flaw was found in X.Org and Xwayland. The root cursor is referenced in the X server as a global variable. If a client frees the root cursor, the internal reference points to freed memory and causes 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
- CVE-2025-49179 A flaw was found in the X Record extension. Also affects tigervnc
- CVE-2025-49180 A flaw was found in the RandR extension, where the RRChangeProviderProperty function does… Also affects tigervnc
- CVE-2025-49175 A flaw was found in the X Rendering extension's handling of animated cursors. Also affects tigervnc
- CVE-2025-49178 A flaw was found in the X server's request handling. Also affects tigervnc
- CVE-2025-49176 A flaw was found in the Big Requests extension. Also affects tigervnc
- CVE-2025-26601 A use-after-free flaw was found in X.Org and Xwayland. Also affects tigervnc
- CVE-2025-26599 An access to an uninitialized pointer flaw was found in X.Org and Xwayland. Also affects tigervnc
- CVE-2025-26600 A use-after-free flaw was found in X.Org and Xwayland. Also affects tigervnc