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


Severity

Recommended
medium

Based on Ubuntu 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-UBUNTU2410-XWAYLAND-8199709
  • published15 Oct 2024
  • disclosed30 Mar 2023

Introduced: 30 Mar 2023

CVE-2023-1393  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.10 xwayland to version 2:22.1.8-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:24.10 relevant fixed versions and status.

A flaw was found in X.Org Server Overlay Window. A Use-After-Free may lead to local privilege escalation. If a client explicitly destroys the compositor overlay window (aka COW), the Xserver would leave a dangling pointer to that window in the CompScreen structure, which will trigger a use-after-free later.

References

CVSS Scores

version 3.1