Vulnerability CVE-2025-26598: Information

Description

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.

Severity: HIGH (7.8)
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published: Feb. 25, 2025
Modified: April 6, 2026
Error type identifier: CWE-787

Fixed packages

References to Advisories, Solutions, and Tools

    1. cpe:2.3:a:tigervnc:tigervnc:-:*:*:*:*:*:*:*

      cpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:*
      End excluding
      21.1.16

      cpe:2.3:a:x.org:xwayland:*:*:*:*:*:*:*:*
      End excluding
      24.1.6

      cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*

      cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*

      cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*