Out-of-bounds Write Affecting xorg-server package, versions <2:21.1.4-2ubuntu1.7~22.04.13


Severity

Recommended
medium

Based on Ubuntu security rating.

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-UBUNTU2204-XORGSERVER-8746884
  • published26 Feb 2025
  • disclosed25 Feb 2025

Introduced: 25 Feb 2025

NewCVE-2025-26598  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 xorg-server to version 2:21.1.4-2ubuntu1.7~22.04.13 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xorg-server package and not the xorg-server package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

An out-of-bounds write flaw was found in X.Org and Xwayland. The function GetBarrierDevice() searches for the pointer device based on its device ID and returns the matching value, or supposedly NULL, if no match was found. However, the code will return the last element of the list if no matching device ID is found, which can lead to out-of-bounds memory access.

CVSS Scores

version 3.1