CVE-2025-26598
Xorg: xwayland: out-of-bounds write in createpointerbarrierclient()
- State
- Published
- Severity
- 7.8 High
- Published
- Feb 25, 2025
- Updated
- Jun 29, 2026
- Reserved
- Feb 12, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-787 Out-of-bounds Write
Affected Products
| Product | Versions |
|---|---|
xserver |
|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONRed Hat |
|
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat |
|
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.2 Advanced Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.2 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9.4 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 6Red Hat | |
Red Hat Enterprise Linux 8Red Hat | |
Red Hat Enterprise Linux 8Red Hat |
References
- RHSA-2025:2500vendor-advisory
- RHSA-2025:2502vendor-advisory
- RHSA-2025:2861vendor-advisory
- RHSA-2025:2862vendor-advisory
- RHSA-2025:2865vendor-advisory
- RHSA-2025:2866vendor-advisory
- RHSA-2025:2873vendor-advisory
- RHSA-2025:2874vendor-advisory
- RHSA-2025:2875vendor-advisory
- RHSA-2025:2879vendor-advisory
- RHSA-2025:2880vendor-advisory
- RHSA-2025:3976vendor-advisory
- RHSA-2025:7163vendor-advisory
- RHSA-2025:7165vendor-advisory
- RHSA-2025:7458vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-26598vdb-entry
- RHBZ#2345254issue-tracking
- https://lists.debian.org/debian-lts-announce/2025/02/msg00036.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.