Quick answers
- Is CVE-2026-50261 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-50261 being exploited in the wild.
- How severe is CVE-2026-50261?
- High severity, with a CVSS score of 7.8, published 5 June 2026.
- Which products and versions are affected?
- X.Org Foundation X.Org Server <= 21.1.22; X.Org Foundation Xwayland <= 24.1.9.
- Is there a fix for CVE-2026-50261?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-50261 attacked?
- It is attacked with local access, in an operating system.
- Am I affected by CVE-2026-50261?
- Check whether you run X.Org Foundation X.Org Server or X.Org Foundation Xwayland at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A use-after-free vulnerability exists in the X.Org X server and Xwayland within the SyncChangeCounter() function. The root cause is a failure to properly handle trigger list iteration when a trigger fires; specifically, the TriggerFired call can invoke FreeResource/FreeAwait, which unlinks and frees trigger list nodes, potentially including the next node in the current iteration. An attacker can exploit this by setting up multiple SyncCounters and using a second client connection to destroy them while they are being modified. This can result in a server crash or local privilege escalation if the X server is running with root privileges. The issue is fixed in xorg-server 21.1.23 and xwayland 24.1.12 by restarting the list iteration from the head after a trigger fires.
Affected products
- X.Org xorg-x11-server <= 21.1.22
- X.Org xorg-x11-server-Xwayland <= 24.1.9
Timeline
- 2026-04-20: other: Fix authored upstream
- 2026-06-02: advisory: X.Org security advisory released
- 2026-06-05: disclosed: CVE published and NVD record created
References
- https://access.redhat.com/security/cve/CVE-2026-50261
- https://bugzilla.redhat.com/show_bug.cgi?id=2485386
- https://gitlab.freedesktop.org/xorg/xserver/-/commit/bdd7bf57af208b1ddf57d4683d67104443b44812
- https://lists.x.org/archives/xorg-announce/2026-June/003702.html
- https://redhat.atlassian.net/browse/PSIRTSUPT-16950