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

Published Feb 12, 2025
·
Updated

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.

Other sources

The root cursor is referenced in the xserver as a global variable. If a client manages to free the root cursor, the internal reference points to freed memory and causes a use-after-free.

Red Hat

X.org: xwayland: use-after-free of the root cursor

Microsoft

Affected Software

13 affected componentsFixes available
debian/xorg-server<=2:1.20.11-1+deb11u13
2:1.20.11-1+deb11u152:21.1.7-3+deb12u92:21.1.16-1
debian/xwayland<=2:22.1.9-1
2:24.1.6-1
TigerVNC TigerVNC
X.Org X Server
X.Org Xwayland
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
X.Org X Server<21.1.16
X.Org Xwayland<24.1.6
Microsoft cbl2 xorg-x11-server 1.20.10-15<1.20.10-15
1.20.10-15
Microsoft azl3 xorg-x11-server-Xwayland 24.1.1-3<24.1.6-1
24.1.6-1
Microsoft azl3 xorg-x11-server-Xwayland 24.1.6-1<24.1.6-1
24.1.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:1.20.11-1+deb11u15Fixed in 2:21.1.7-3+deb12u9Fixed in 2:21.1.16-1
  2. Upgrade

    Upgrade debian/xwayland to a version that resolves this vulnerability.

    Fixed in 2:24.1.6-1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.20.10-15
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 24.1.6-1

Event History

Feb 12, 2025
Data Sourced
via Red Hat·02:18 PM
DescriptionSeverityAffected Software
Feb 25, 2025
CVE Published
via MITRE·03:53 PM
Data Sourced
via MITRE·03:53 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Mar 10, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Mar 18, 2025
Data Sourced
via Ubuntu·12:25 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-26594?

CVE-2025-26594 has been classified as a moderate severity use-after-free vulnerability.

2

How do I fix CVE-2025-26594?

To remediate CVE-2025-26594, update the xorg-server and xwayland packages to their latest versions as specified by your distribution.

3

Which versions of xorg-server are affected by CVE-2025-26594?

The affected versions of xorg-server include 2:1.20.11-1+deb11u13, 2:1.20.11-1+deb11u14, 2:21.1.7-3+deb12u8, and 2:21.1.15-3.

4

Which versions of xwayland are affected by CVE-2025-26594?

The affected versions of xwayland are 2:22.1.9-1 and 2:24.1.5-1.

5

What component does CVE-2025-26594 impact?

CVE-2025-26594 impacts the X.Org and Xwayland components, specifically involving a use-after-free issue with the root cursor.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203