CVE-2025-26599 Xorg: xwayland: use of uninitialized pointer in compredirectwindow()

High 7.8 Published Updated

An uninitialized pointer in Xorg/Xwayland can cause a crash when memory allocation fails, leading to denial of service.

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-26599?

CVE-2025-26599 is a high-severity 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

An access to an uninitialized pointer flaw was found in X.Org and Xwayland. The function compCheckRedirect() may fail if it cannot allocate the backing pixmap. In that case, compRedirectWindow() will return a BadAlloc error without validating the window tree marked just before, which leaves the validated data partly initialized and the use of an uninitialized pointer later.

Weakness: CWE-824

Which versions are affected by CVE-2025-26599?

It affects 4 products.

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

How do I fix CVE-2025-26599?

Apply the vendor's patch.

Is CVE-2025-26599 being exploited?

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

All Redhat Enterprise Linux vulnerabilities

Sources

Also known as AZL-57298, AZL-57318, AZL-57446, BELL-CVE-2025-26599, DEBIAN-CVE-2025-26599, GHSA-wv34-xcj8-f3mq and 1 more.

Is CVE-2025-26599 in your software?

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

Check your SBOMs for free