Use After Free Affecting xorg-server package, versions [,21.1.23)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-XORGSERVER-17308631
  • published11 Jun 2026
  • disclosed2 Jun 2026
  • creditUnknown

Introduced: 2 Jun 2026

CVE-2026-50257  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade xorg-server to version 21.1.23 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free via the miSyncDestroyFence() function. An attacker can execute arbitrary code or cause a server crash by establishing multiple connections to set up and destroy a fence, leading to a use-after-free condition when a function pointer is called after the fence is destroyed. This may result in privilege escalation if the server is running with elevated privileges.

CVSS Base Scores

version 4.0
version 3.1