# CVE-2025-26594: X.org: xwayland: use-after-free of the root cursor

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.40% (percentile 26, 2026-11-28)
- **CWE:** CWE-416
- **Published:** 2025-02-25T15:53:51.324Z
- **Modified:** 2026-11-23T15:17:16.750Z

## Who should check

- Anyone running xserver \< 21.1.16; \>= 22.0.0, \< 24.1.6
- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 6 Extended Lifecycle Support  - EXTENSION all versions
- Anyone running Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions
- Anyone running Red Hat Enterprise Linux 8 all versions
- Anyone running Red Hat Enterprise Linux 8.2 Advanced Update Support all versions
- Anyone running Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions
- Anyone running Red Hat Enterprise Linux 8.4 Telecommunications Update Service all versions

## Description

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 and fixed versions

- xserver: \< 21.1.16; \>= 22.0.0, \< 24.1.6 (cvelist)
- Red Hat Enterprise Linux 10: all versions (cvelist)
- Red Hat Enterprise Linux 6 Extended Lifecycle Support  - EXTENSION: all versions (cvelist)
- Red Hat Enterprise Linux 7 Extended Lifecycle Support: all versions (cvelist)
- Red Hat Enterprise Linux 7 Extended Lifecycle Support: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 8.2 Advanced Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 8.4 Telecommunications Update Service: all versions (cvelist)
- Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 8.6 Telecommunications Update Service: all versions (cvelist)
- Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat Enterprise Linux 8.8 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat Enterprise Linux 9.2 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 9.4 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 6: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 8: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 8: see vendor advisory (cvelist)

## Mitigation

- Upgrade xserver to 24.1.6 or later.
- Vendor 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-26594. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-26594.md
Affected: xserver < 21.1.16; >= 22.0.0, < 24.1.6; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION all versions; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; R…
Fixed in: xserver 21.1.16, xserver 24.1.6

Steps:
1. Search this machine and project for xserver, 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: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-26594 being exploited?

There is no confirmed exploitation: CVE-2025-26594 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-26594?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-26594?

xserver \< 21.1.16; \>= 22.0.0, \< 24.1.6; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 6 Extended Lifecycle Support  - EXTENSION all versions; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8.2 Advanced Update Support all versions; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.4 Telecommunications Update Service all versions; Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.6 Telecommunications Update Service all versions; Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 8.8 Extended Update Support all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9.2 Extended Update Support all versions; Red Hat Enterprise Linux 9.4 Extended Update Support all versions; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 8.

### Is there a fix for CVE-2025-26594?

Yes. Fixed in xserver 21.1.16, xserver 24.1.6. Upgrade xserver to 24.1.6 or later. Vendor 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.

### How do I check if I'm affected by CVE-2025-26594?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2025:2500>
- vendor: <https://access.redhat.com/errata/RHSA-2025:2502>
- vendor: <https://access.redhat.com/errata/RHSA-2025:2861>
- vendor: <https://access.redhat.com/errata/RHSA-2025:2862>
- vendor: <https://access.redhat.com/errata/RHSA-2025:2865>
- vendor: <https://access.redhat.com/errata/RHSA-2025:2866>
- vendor: <https://access.redhat.com/errata/RHSA-2025:2873>
- vendor: <https://access.redhat.com/errata/RHSA-2025:2874>
- vendor: <https://access.redhat.com/errata/RHSA-2025:2875>
- vendor: <https://access.redhat.com/errata/RHSA-2025:2879>
- vendor: <https://access.redhat.com/errata/RHSA-2025:2880>
- vendor: <https://access.redhat.com/errata/RHSA-2025:3976>
- vendor: <https://access.redhat.com/errata/RHSA-2025:7163>
- vendor: <https://access.redhat.com/errata/RHSA-2025:7165>
- vendor: <https://access.redhat.com/errata/RHSA-2025:7458>
- other: <https://access.redhat.com/security/cve/CVE-2025-26594>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2345248>
- other: <https://lists.debian.org/debian-lts-announce/2025/02/msg00036.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-26594>

HTML: <https://flawdb.com/CVE-2025-26594> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-26594>
