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.
References
| Link | Resource |
|---|---|
| https://access.redhat.com/security/cve/CVE-2026-50257 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2485382 | Issue Tracking Third Party Advisory |
| https://gitlab.freedesktop.org/xorg/xserver/-/commit/f5abfb61994471023d8c6470428c8e30c411cc0b | Patch |
| https://lists.x.org/archives/xorg-announce/2026-June/003702.html | Mailing List Third Party Advisory |
| https://redhat.atlassian.net/browse/PSIRTSUPT-16950 | Permissions Required |
Configurations
Configuration 1 (hide)
|
History
08 Jun 2026, 16:45
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://access.redhat.com/security/cve/CVE-2026-50257 - Third Party Advisory | |
| References | () https://bugzilla.redhat.com/show_bug.cgi?id=2485382 - Issue Tracking, Third Party Advisory | |
| References | () https://gitlab.freedesktop.org/xorg/xserver/-/commit/f5abfb61994471023d8c6470428c8e30c411cc0b - Patch | |
| References | () https://lists.x.org/archives/xorg-announce/2026-June/003702.html - Mailing List, Third Party Advisory | |
| References | () https://redhat.atlassian.net/browse/PSIRTSUPT-16950 - Permissions Required | |
| First Time |
Redhat enterprise Linux
Redhat X.org X.org xwayland X.org x Server |
|
| CPE | cpe:2.3:a:x.org:xwayland:*:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* cpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
05 Jun 2026, 12:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-05 12:16
Updated : 2026-06-08 16:45
NVD link : CVE-2026-50257
Mitre link : CVE-2026-50257
CVE.ORG link : CVE-2026-50257
JSON object : View
Products Affected
x.org
- x_server
- xwayland
redhat
- enterprise_linux
CWE
CWE-416
Use After Free
