Use After Free Affecting xorg-x11-server-Xwayland-debugsource package, versions <0:24.1.3-1.amzn2023.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (19th 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-AMZN2023-XORGX11SERVERXWAYLANDDEBUGSOURCE-9525681
  • published27 Mar 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 Amazon-Linux:2023 xorg-x11-server-Xwayland-debugsource to version 0:24.1.3-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2025-895.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xorg-x11-server-Xwayland-debugsource package and not the xorg-x11-server-Xwayland-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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