CVE-2025-26598

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductX.org Xwayland
PublishedFeb 25, 2025
First seenFeb 25, 2025

How to fix

Affected products

ProductAffected versionsFixed in
x.org xwaylandv < 24.1.624.1.6
tigervnc tigervncNo range specified—
x.org x_serverv < 21.1.1621.1.16
redhat enterprise_linux7.0, 8.0, 9.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.