Use After Free Affecting xorg-server package, versions <2:21.1.16-1ubuntu1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.39% (32nd 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 IDSNYK-UBUNTU2510-XORGSERVER-15741775
  • published21 Mar 2026
  • disclosed25 Feb 2025

Introduced: 25 Feb 2025

CVE-2025-26594  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.10 xorg-server to version 2:21.1.16-1ubuntu1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xorg-server package and not the xorg-server package as distributed by Ubuntu. See How to fix? for Ubuntu:25.10 relevant fixed versions and status.

A use-after-free flaw was found in X.Org and Xwayland. The root cursor is referenced in the X server as a global variable. If a client frees the root cursor, the internal reference points to freed memory and causes a use-after-free.

CVSS Base Scores

version 3.1