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

High 7.8 Published Updated

A use-after-free flaw in X.org Xwayland allows attackers to cause denial of service or execute arbitrary code by freeing the root cursor.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-26594?

CVE-2025-26594 is a high-severity use after free vulnerability in Redhat Enterprise Linux, published on 25 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-416

Which versions are affected by CVE-2025-26594?

It affects 4 products.

Products include Redhat Enterprise Linux, Tigervnc Tigervnc, X.org X Server, X.org Xwayland.

How do I fix CVE-2025-26594?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-26594 being exploited?

There is no known exploitation of CVE-2025-26594 in the wild and no public exploit code.

All Redhat Enterprise Linux vulnerabilities

Sources

Also known as AZL-57292, AZL-57359, AZL-57474, BELL-CVE-2025-26594, DEBIAN-CVE-2025-26594, GHSA-gc32-fmf5-c742 and 1 more.

Is CVE-2025-26594 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free