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.
CVSS breakdown
CVSS 3.1
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected products
- RedHat / enterprise_linux7.0 – 7.0
- RedHat / enterprise_linux8.0 – 8.0
- RedHat / enterprise_linux9.0 – 9.0
- TigerVNC / TigerVNC
- X.Org / X server21.1.16
- X.Org / xwayland24.1.6
References
- VENDOR_ADVISORYhttps://access.redhat.com/errata/RHSA-2025:2500
- VENDOR_ADVISORYhttps://access.redhat.com/errata/RHSA-2025:2502
- VENDOR_ADVISORYhttps://access.redhat.com/errata/RHSA-2025:2861
- VENDOR_ADVISORYhttps://access.redhat.com/errata/RHSA-2025:2862
- VENDOR_ADVISORYhttps://access.redhat.com/errata/RHSA-2025:2865
- VENDOR_ADVISORYhttps://access.redhat.com/errata/RHSA-2025:2866
- VENDOR_ADVISORYhttps://access.redhat.com/errata/RHSA-2025:2873
- VENDOR_ADVISORYhttps://access.redhat.com/errata/RHSA-2025:2874
- VENDOR_ADVISORYhttps://access.redhat.com/errata/RHSA-2025:2875
- VENDOR_ADVISORYhttps://access.redhat.com/errata/RHSA-2025:2879
- VENDOR_ADVISORYhttps://access.redhat.com/errata/RHSA-2025:2880
- VENDOR_ADVISORYhttps://access.redhat.com/errata/RHSA-2025:3976
- VENDOR_ADVISORYhttps://access.redhat.com/errata/RHSA-2025:7163
- VENDOR_ADVISORYhttps://access.redhat.com/errata/RHSA-2025:7165
- VENDOR_ADVISORYhttps://access.redhat.com/errata/RHSA-2025:7458
- VENDOR_ADVISORYhttps://access.redhat.com/security/cve/CVE-2025-26598
- MISChttps://bugzilla.redhat.com/show_bug.cgi?id=2345254
Updated 31m ago · 8 sources