Heap-based Buffer Overflow Affecting xorg/xwayland package, versions [,23.2.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (47th 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-UNMANAGED-XORGXWAYLAND-11431287
  • published4 Aug 2025
  • disclosed16 Jan 2024
  • creditJan-Niklas Sohn

Introduced: 16 Jan 2024

CVE-2024-21886  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade xorg/xwayland to version 23.2.4 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the DisableDevice function. An attacker can cause an application crash or potentially execute arbitrary code in SSH X11 forwarding environments by exploiting this vulnerability.

CVSS Base Scores

version 3.1