CVE-2025-26594X.org: xwayland: use-after-free of the root cursor
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | xorg | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | xorg | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | xorg-server | Fixed | 2:21.1.16-1ubuntu1 | UBUNTU-CVE-2025-26594 |
| Ubuntu 24.04 | xorg | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | xorg-server | Fixed | 2:21.1.12-1ubuntu1.2 | UBUNTU-CVE-2025-26594 |
| Ubuntu 24.04 | xwayland | Fixed | 2:23.2.6-1ubuntu0.4 | UBUNTU-CVE-2025-26594 |
| Ubuntu 22.04 | xorg | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | xorg-server | Fixed | 2:21.1.4-2ubuntu1.7~22.04.13 | UBUNTU-CVE-2025-26594 |
| Ubuntu 22.04 | xwayland | Fixed | 2:22.1.1-1ubuntu0.17 | UBUNTU-CVE-2025-26594 |
| Ubuntu 20.04 | xorg | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | xorg-server | Fixed | 2:1.20.13-1ubuntu1~20.04.19 | UBUNTU-CVE-2025-26594 |
| Ubuntu 18.04 | xorg-server | Fix pending | 2:1.19.6-1ubuntu4.15+esm10 (Ubuntu Pro) | UBUNTU-CVE-2025-26594 |
| Ubuntu 18.04 | xorg-server-hwe-18.04 | Fix pending | 2:1.20.8-2ubuntu2.2~18.04.11+esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-26594 |
| Ubuntu 16.04 | xorg-server | Fix pending | 2:1.18.4-0ubuntu0.12+esm15 (Ubuntu Pro) | UBUNTU-CVE-2025-26594 |
| Ubuntu 16.04 | xorg-server-hwe-16.04 | Fix pending | 2:1.19.6-1ubuntu4.1~16.04.6+esm7 (Ubuntu Pro) | UBUNTU-CVE-2025-26594 |
| Ubuntu 14.04 | xorg-server | Fix pending | UBUNTU-CVE-2025-26594 | |
| Debian 14 | xorg-server | Fixed | 2:21.1.16-1 | DEBIAN-CVE-2025-26594 |
| Debian 14 | xwayland | Fixed | 2:24.1.6-1 | DEBIAN-CVE-2025-26594 |
| Debian 13 | xorg-server | Fixed | 2:21.1.16-1 | DEBIAN-CVE-2025-26594 |
| Debian 13 | xwayland | Fixed | 2:24.1.6-1 | DEBIAN-CVE-2025-26594 |
| Debian 12 | xorg-server | Fixed | 2:21.1.7-3+deb12u9 | DEBIAN-CVE-2025-26594 |
| Debian 12 | xwayland | Fix pending | DEBIAN-CVE-2025-26594 | |
| Red Hat Enterprise Linux 10 | xorg-x11-server-Xwayland | Fixed | 0:24.1.5-3.el10_0 | RHSA-2025:7458 |
| Red Hat Enterprise Linux 10 | xorg-x11-server-Xwayland-devel | Fixed | 0:24.1.5-3.el10_0 | RHSA-2025:7458 |
| Red Hat Enterprise Linux 9 | tigervnc | Fixed | 0:1.14.1-1.el9_5.1 | RHSA-2025:2500 |
| Red Hat Enterprise Linux 9 | tigervnc-icons | Fixed | 0:1.14.1-1.el9_5.1 | RHSA-2025:2500 |
| Red Hat Enterprise Linux 9 | tigervnc-license | Fixed | 0:1.14.1-1.el9_5.1 | RHSA-2025:2500 |
| Red Hat Enterprise Linux 9 | tigervnc-selinux | Fixed | 0:1.14.1-1.el9_5.1 | RHSA-2025:2500 |
| Red Hat Enterprise Linux 9 | tigervnc-server | Fixed | 0:1.14.1-1.el9_5.1 | RHSA-2025:2500 |
| Red Hat Enterprise Linux 9 | tigervnc-server-minimal | Fixed | 0:1.14.1-1.el9_5.1 | RHSA-2025:2500 |
| Red Hat Enterprise Linux 9 | tigervnc-server-module | Fixed | 0:1.14.1-1.el9_5.1 | RHSA-2025:2500 |
| Red Hat Enterprise Linux 9 | xorg-x11-server | Fixed | 0:1.20.11-28.el9_6 | RHSA-2025:7163 |
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xdmx | Fixed | 0:1.20.11-28.el9_6 | RHSA-2025:7163 |
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xephyr | Fixed | 0:1.20.11-28.el9_6 | RHSA-2025:7163 |
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xnest | Fixed | 0:1.20.11-28.el9_6 | RHSA-2025:7163 |
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xorg | Fixed | 0:1.20.11-28.el9_6 | RHSA-2025:7163 |
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xvfb | Fixed | 0:1.20.11-28.el9_6 | RHSA-2025:7163 |
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xwayland | Fixed | 0:23.2.7-3.el9_6 | RHSA-2025:7165 |
| Red Hat Enterprise Linux 9 | xorg-x11-server-Xwayland-devel | Fixed | 0:23.2.7-3.el9_6 | RHSA-2025:7165 |
| Red Hat Enterprise Linux 9 | xorg-x11-server-common | Fixed | 0:1.20.11-28.el9_6 | RHSA-2025:7163 |
| Red Hat Enterprise Linux 9 | xorg-x11-server-devel | Fixed | 0:1.20.11-28.el9_6 | RHSA-2025:7163 |
| Red Hat Enterprise Linux 9 | xorg-x11-server-source | Fixed | 0:1.20.11-28.el9_6 | RHSA-2025:7163 |
| Red Hat Enterprise Linux 8 | tigervnc | Fixed | 0:1.13.1-15.el8_10 | RHSA-2025:2502 |
| Red Hat Enterprise Linux 8 | tigervnc-icons | Fixed | 0:1.13.1-15.el8_10 | RHSA-2025:2502 |
| Red Hat Enterprise Linux 8 | tigervnc-license | Fixed | 0:1.13.1-15.el8_10 | RHSA-2025:2502 |
| Red Hat Enterprise Linux 8 | tigervnc-selinux | Fixed | 0:1.13.1-15.el8_10 | RHSA-2025:2502 |
| Red Hat Enterprise Linux 8 | tigervnc-server | Fixed | 0:1.13.1-15.el8_10 | RHSA-2025:2502 |
| Red Hat Enterprise Linux 8 | tigervnc-server-minimal | Fixed | 0:1.13.1-15.el8_10 | RHSA-2025:2502 |
| Red Hat Enterprise Linux 8 | tigervnc-server-module | Fixed | 0:1.13.1-15.el8_10 | RHSA-2025:2502 |
| Red Hat Enterprise Linux 8 | xorg-x11-server | Not affected | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-Xdmx | Not affected | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-Xephyr | Not affected | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-Xnest | Not affected | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-Xorg | Not affected | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-Xvfb | Not affected | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-Xwayland | Not affected | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-common | Not affected | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | xorg-x11-server-source | Not affected | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-Xdmx | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-Xephyr | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-Xnest | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-Xorg | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-Xvfb | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-common | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | xorg-x11-server-source | Will not fix Out of support scope | ||
| AlmaLinux 9 | tigervnc | Fixed | 1.14.1-1.el9_5.1 | ALSA-2025:2500 |
| AlmaLinux 9 | tigervnc-icons | Fixed | 1.14.1-1.el9_5.1 | ALSA-2025:2500 |
| AlmaLinux 9 | tigervnc-license | Fixed | 1.14.1-1.el9_5.1 | ALSA-2025:2500 |
| AlmaLinux 9 | tigervnc-selinux | Fixed | 1.14.1-1.el9_5.1 | ALSA-2025:2500 |
| AlmaLinux 9 | tigervnc-server | Fixed | 1.14.1-1.el9_5.1 | ALSA-2025:2500 |
| AlmaLinux 9 | tigervnc-server-minimal | Fixed | 1.14.1-1.el9_5.1 | ALSA-2025:2500 |
| AlmaLinux 9 | tigervnc-server-module | Fixed | 1.14.1-1.el9_5.1 | ALSA-2025:2500 |
| AlmaLinux 9 | xorg-x11-server-Xdmx | Fixed | 1.20.11-28.el9_6 | ALSA-2025:7163 |
| AlmaLinux 9 | xorg-x11-server-Xephyr | Fixed | 1.20.11-28.el9_6 | ALSA-2025:7163 |
| AlmaLinux 9 | xorg-x11-server-Xnest | Fixed | 1.20.11-28.el9_6 | ALSA-2025:7163 |
| AlmaLinux 9 | xorg-x11-server-Xorg | Fixed | 1.20.11-28.el9_6 | ALSA-2025:7163 |
| AlmaLinux 9 | xorg-x11-server-Xvfb | Fixed | 1.20.11-28.el9_6 | ALSA-2025:7163 |
| AlmaLinux 9 | xorg-x11-server-Xwayland | Fixed | 23.2.7-3.el9_6 | ALSA-2025:7165 |
| AlmaLinux 9 | xorg-x11-server-Xwayland-devel | Fixed | 23.2.7-3.el9_6 | ALSA-2025:7165 |
| AlmaLinux 9 | xorg-x11-server-common | Fixed | 1.20.11-28.el9_6 | ALSA-2025:7163 |
| AlmaLinux 9 | xorg-x11-server-devel | Fixed | 1.20.11-28.el9_6 | ALSA-2025:7163 |
| AlmaLinux 9 | xorg-x11-server-source | Fixed | 1.20.11-28.el9_6 | ALSA-2025:7163 |
| AlmaLinux 8 | tigervnc | Fixed | 1.13.1-15.el8_10 | ALSA-2025:2502 |
| AlmaLinux 8 | tigervnc-icons | Fixed | 1.13.1-15.el8_10 | ALSA-2025:2502 |
| AlmaLinux 8 | tigervnc-license | Fixed | 1.13.1-15.el8_10 | ALSA-2025:2502 |
| AlmaLinux 8 | tigervnc-selinux | Fixed | 1.13.1-15.el8_10 | ALSA-2025:2502 |
| AlmaLinux 8 | tigervnc-server | Fixed | 1.13.1-15.el8_10 | ALSA-2025:2502 |
| AlmaLinux 8 | tigervnc-server-minimal | Fixed | 1.13.1-15.el8_10 | ALSA-2025:2502 |
| AlmaLinux 8 | tigervnc-server-module | Fixed | 1.13.1-15.el8_10 | ALSA-2025:2502 |
| Rocky Linux 10 | xorg-x11-server-Xwayland | Fixed | 0:24.1.5-3.el10_0 | RLSA-2025:7458 |
| Rocky Linux 9 | tigervnc | Fixed | 0:1.14.1-1.el9_5.1 | RLSA-2025:2500 |
| Rocky Linux 9 | xorg-x11-server | Fixed | 0:1.20.11-28.el9_6 | RLSA-2025:7163 |
| Rocky Linux 9 | xorg-x11-server-Xwayland | Fixed | 0:23.2.7-3.el9_6 | RLSA-2025:7165 |
| Rocky Linux 8 | tigervnc | Fixed | 0:1.13.1-15.el8_10 | RLSA-2025:2502 |
| Alpine Linux 3.24 | xorg-server | Fixed | 21.1.16-r0 | ALPINE-CVE-2025-26594 |
| Alpine Linux 3.24 | xwayland | Fixed | 24.1.6-r0 | ALPINE-CVE-2025-26594 |
| Alpine Linux 3.23 | xorg-server | Fixed | 21.1.16-r0 | ALPINE-CVE-2025-26594 |
| Alpine Linux 3.23 | xwayland | Fixed | 24.1.6-r0 | ALPINE-CVE-2025-26594 |
| Alpine Linux 3.22 | xorg-server | Fixed | 21.1.16-r0 | ALPINE-CVE-2025-26594 |
| Alpine Linux 3.22 | xwayland | Fixed | 24.1.6-r0 | ALPINE-CVE-2025-26594 |
| Alpine Linux 3.21 | xorg-server | Fixed | 21.1.16-r0 | ALPINE-CVE-2025-26594 |
| Alpine Linux 3.21 | xwayland | Fixed | 24.1.6-r0 | ALPINE-CVE-2025-26594 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- xserver: affected: before 21.1.16, 22.0.0 to before 24.1.6; fixed in
21.1.16,24.1.6 - Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION
- Red Hat Enterprise Linux 7 Extended Lifecycle Support
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 8.2 Advanced Update Support
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.4 Telecommunications Update Service
- Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.6 Telecommunications Update Service
- Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2025:2500 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:2502 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:2861 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:2862 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:2865 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:2866 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2025:2500
- https://access.redhat.com/errata/RHSA-2025:2502
- https://access.redhat.com/errata/RHSA-2025:2861
- https://access.redhat.com/errata/RHSA-2025:2862
- https://access.redhat.com/errata/RHSA-2025:2865
- https://access.redhat.com/errata/RHSA-2025:2866
- https://access.redhat.com/errata/RHSA-2025:2873
- https://access.redhat.com/errata/RHSA-2025:2874
- https://access.redhat.com/errata/RHSA-2025:2875
- https://access.redhat.com/errata/RHSA-2025:2879
- https://access.redhat.com/errata/RHSA-2025:2880
- https://access.redhat.com/errata/RHSA-2025:3976
- https://access.redhat.com/errata/RHSA-2025:7163
- https://access.redhat.com/errata/RHSA-2025:7165
- https://access.redhat.com/errata/RHSA-2025:7458
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.