Out-of-Bounds Write Affecting xorg/xwayland package, versions [1.4.0,23.2.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (21st 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-11431293
  • published4 Aug 2025
  • disclosed25 Oct 2023
  • creditJan-Niklas Sohn

Introduced: 25 Oct 2023

CVE-2023-5367  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade xorg/xwayland to version 23.2.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds Write due to an invalid offset calculation in XIChangeDeviceProperty and RRChangeOutputProperty. The resulting memcpy function would write into memory outside the heap-allocated array.

CVSS Base Scores

version 3.1