CVE-2026-50257
Last modified
CVE-2026-50257 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| X.Org | X Server | < 21.1.23 |
| X.Org | Xwayland | < 24.1.12 |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux | 9.0 |
| Redhat | Enterprise Linux | 10.0 |
References
- https://access.redhat.com/security/cve/CVE-2026-50257Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2485382Issue Tracking, Third Party Advisory
- https://lists.x.org/archives/xorg-announce/2026-June/003702.htmlMailing List, Third Party Advisory
- https://redhat.atlassian.net/browse/PSIRTSUPT-16950Permissions Required
- https://access.redhat.com/security/cve/CVE-2026-50257Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2485382Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-50257?
How severe is CVE-2026-50257?
How do I fix CVE-2026-50257?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5025The '/logs' and '/logs-stream' endpoints in the log router a…6.5
- CVE-2026-50251In NLnet Labs Unbound up to and including version 1.25.1, wh…5.3
- CVE-2026-50252In NLnet Labs Unbound 1.4.22 up to and including 1.25.1, UDP…9.3
- CVE-2026-50254An unauthenticated remote attacker can repeatedly send a sin…8.7
- CVE-2026-50255Incorrect default permissions issue exists in Optical Disc A…6.7
- CVE-2026-50256A stack-based buffer overflow flaw was found in the X.Org X …7.8
- CVE-2026-50258A stack-based buffer overflow flaw was found in the X.Org X …7.8
- CVE-2026-50259A stack-based buffer overflow flaw was found in the X.Org X …7.8
- CVE-2026-5026The '/api/v1/files/images/{flow_id}/{file_name}' endpoint se…5.4
- CVE-2026-50260A use-after-free flaw was found in the X.Org X server and Xw…7.8
- CVE-2026-50261A use-after-free flaw was found in the X.Org X server and Xw…7.8
- CVE-2026-50262An out-of-bounds read flaw was found in the X.Org X server a…5.5
Are you affected by CVE-2026-50257?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
