
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-50260 is a use-after-free vulnerability in the X.Org X server and Xwayland, located in the FreeCounter() function. A client that sets up multiple SyncCounters and awaits on those triggers can trigger a use-after-free condition when destroying those counters via a second client connection. Affected versions include xorg-x11-server ≤ 21.1.22 and xorg-x11-server-Xwayland ≤ 24.1.9; fixed upstream in xorg-server 21.1.23 and xwayland 24.1.12. The vulnerability was published on June 5, 2026, and was reported via Trend Micro's Zero Day Initiative (ZDI-CAN-30163). It carries a CVSS v3.1 base score of 7.8 (High) (GitHub Advisory, Red Hat Bugzilla).
The root cause is a use-after-free flaw (CWE-416) in the FreeCounter() function of the X.Org X server's SYNC extension. When a client establishes multiple SyncCounters and registers awaits on them, a second client connection can destroy those counters while the first client's awaits still reference the freed memory. This race-like condition between two client connections allows the freed memory to be accessed or manipulated after deallocation. Any X client with the ability to connect to the server can trigger this issue, requiring only low privileges. The upstream fix is available as a commit to the xorg/xserver repository (xorg commit, Red Hat Bugzilla).
Successful exploitation can result in a crash of the X server (denial of service) or, if the X server is running as root, privilege escalation to root-level code execution. A local attacker with access to the X server can leverage the use-after-free to execute arbitrary code with the privileges of the X server process, potentially gaining full control of the affected system. The confidentiality, integrity, and availability impacts are all rated High, reflecting the potential for complete system compromise (GitHub Advisory, Red Hat Bugzilla).
As of the time of publication, there is no known public proof-of-concept exploit and no evidence of in-the-wild exploitation. The vulnerability was reported through Trend Micro's Zero Day Initiative (ZDI-CAN-30163), indicating responsible disclosure. The EPSS score is approximately 0.012–0.013%, placing it in the 2nd percentile for exploitation likelihood within 30 days. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (GitHub Advisory, Red Hat Bugzilla).
FreeCounter() to free the associated memory while the first client's await structures still hold references to it./var/log/Xorg.0.log) referencing FreeCounter() or SYNC extension operations; repeated X client connection/disconnection events in quick succession./tmp/.X11-unix/X0) with multiple rapid connections from the same or different users.Upgrade to the fixed upstream versions: xorg-server 21.1.23 or xwayland 24.1.12. Red Hat has issued security advisories addressing this vulnerability for RHEL 8 (RHSA-2026:26562) and RHEL 9 (RHSA-2026:26590, RHSA-2026:26610); users should apply the relevant errata via their package manager. Amazon Linux 2 users should apply ALAS2-2026-3336. As a workaround where patching is not immediately possible, restrict access to the X server by limiting which local users can connect, and avoid running the X server as root to reduce the impact of potential privilege escalation (Red Hat Bugzilla, xorg announce).
The vulnerability received routine coverage across vulnerability tracking platforms and security mailing lists, including oss-security and the Yocto Project security list. Rapid7 included it in their June 2026 Patch Tuesday roundup, noting it as a local privilege escalation risk in X server environments. Social media activity was limited, with brief mentions on Mastodon and Bluesky CVE tracking accounts. No significant controversy or notable researcher commentary beyond standard disclosure was observed (Rapid7 Blog, oss-sec).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."