CVE-2026-50257
Description
A use-after-free flaw was found in the X.Org X server and Xwayland in miSyncDestroyFence(). A client that sets up multiple fence triggers can trigger a use-after-free function pointer call. An attacker would connect to the X server to set up a fence and await that fence, then a second X connection destroys the fence, causing the use-after-free. This may be used to crash the server, or for privilege escalation if the X server runs as root.
How to fix
- x.org xwayland24.1.12 or later
- x.org x_server21.1.23 or later
- access.redhat.com/errata/RHSA-2026:26562
- access.redhat.com/errata/RHSA-2026:26566
- access.redhat.com/errata/RHSA-2026:26590
- access.redhat.com/errata/RHSA-2026:26610
- access.redhat.com/errata/RHSA-2026:26709
- access.redhat.com/errata/RHSA-2026:28923
- access.redhat.com/errata/RHSA-2026:29844
- access.redhat.com/errata/RHSA-2026:36083
- access.redhat.com/errata/RHSA-2026:36085
- access.redhat.com/errata/RHSA-2026:36086
- access.redhat.com/errata/RHSA-2026:36087
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| x.org xwayland | v < 24.1.12 | 24.1.12 |
| x.org x_server | v < 21.1.23 | 21.1.23 |
| redhat enterprise_linux | 7.0, 8.0, 9.0, 10.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.