Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

CVE-2025-26598

Public on 2025-02-25
Modified on 2025-02-28
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
Medium
See what this means
CVSS v3 Base Score
4.5
See breakdown
Continue reading

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 2 - Core xorg-x11-server 2025-03-08 23:17 ALAS2-2025-2791
Amazon Linux 2023 xorg-x11-server 2025-03-06 23:13 ALAS2023-2025-892
Amazon Linux 2023 xorg-x11-server-Xwayland 2025-03-06 23:13 ALAS2023-2025-891
Amazon Linux 2023 xorg-x11-server-Xwayland 2025-03-13 04:48 ALAS2023-2025-895

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 4.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
NVD CVSSv3 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H