What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: xorg-x11-server 21.1.16; X.Org xwayland 24.1.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-26599 or the next vulnerability affects your stack