Use After Free Affecting xwayland package, versions <2:24.1.5-1ubuntu1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.39% (34th 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-UBUNTU2504-XWAYLAND-9790178
  • published23 Apr 2025
  • 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.04 xwayland to version 2:24.1.5-1ubuntu1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xwayland package and not the xwayland package as distributed by Ubuntu. See How to fix? for Ubuntu:25.04 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