CVE-2025-26598
Public on 2025-02-25
        Modified on 2025-03-12
        
      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
          
          See what this means
        CVSS v3 Base Score
          
          See breakdown
        Affected Packages
| Platform | Package | Release Date | Advisory | Status | 
|---|---|---|---|---|
| Amazon Linux 1 | xorg-x11-server | No Fix Planned | ||
| Amazon Linux 2 - Core | xorg-x11-server | 2025-03-06 | ALAS2-2025-2791 | Fixed | 
| Amazon Linux 2023 | xorg-x11-server | 2025-03-26 | ALAS2023-2025-892 | Fixed | 
| Amazon Linux 2023 | xorg-x11-server-Xwayland | 2025-03-26 | ALAS2023-2025-895 | Fixed | 
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 5.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/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 |