CVE-2026-50257
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | 0:24.1.9-4.el10_2.2 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8 | 0:21.1.3-20.el8_10.2 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8 | 0:1.20.11-28.el8_10.2 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8 | 0:1.15.0-10.el8_10 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 0:24.1.9-4.el9_8.2 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.20.11-34.el9_8.2 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.15.0-7.el9_8.2 < * | unaffected |
Weaknesses
- CWE-416: Use After Free
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
xorg-x11-server: xorg-x11-server-Xwayland: xorg-x11-server: use-after-free in miSyncDestroyFence()
Additional References
- https://access.redhat.com/security/cve/CVE-2026-50257
- https://bugzilla.redhat.com/show_bug.cgi?id=2485382
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50257.json
- https://access.redhat.com/errata/RHSA-2026:26566
- https://access.redhat.com/errata/RHSA-2026:28923
- https://access.redhat.com/errata/RHSA-2026:26709
- https://access.redhat.com/errata/RHSA-2026:26562
- https://access.redhat.com/errata/RHSA-2026:29844
- https://access.redhat.com/errata/RHSA-2026:26610
- https://access.redhat.com/errata/RHSA-2026:26590
References
- https://access.redhat.com/errata/RHSA-2026:26562
- https://access.redhat.com/errata/RHSA-2026:26566
- https://access.redhat.com/errata/RHSA-2026:26590
- https://access.redhat.com/errata/RHSA-2026:26610
- https://access.redhat.com/errata/RHSA-2026:26709
- https://access.redhat.com/errata/RHSA-2026:28923
- https://access.redhat.com/errata/RHSA-2026:29844
- https://access.redhat.com/security/cve/CVE-2026-50257
- https://bugzilla.redhat.com/show_bug.cgi?id=2485382
- https://gitlab.freedesktop.org/xorg/xserver/-/commit/f5abfb61994471023d8c6470428c8e30c411cc0b
- https://lists.x.org/archives/xorg-announce/2026-June/003702.html
- https://redhat.atlassian.net/browse/PSIRTSUPT-16950
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.