# CVE-2025-26598: Xorg: xwayland: out-of-bounds write in createpointerbarrierclient()

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-02-25 · Modified: 2026-11-23
- Aliases: UBUNTU-CVE-2025-26598, DEBIAN-CVE-2025-26598, ALPINE-CVE-2025-26598
- Record: https://cvemate.com/vulnerability/CVE-2025-26598 · JSON: https://cvemate.com/vulnerability/CVE-2025-26598/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.471%, percentile 42.368%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine xorg-server (Alpine Linux): \< 21.1.16-r0
- alpine xwayland (Alpine Linux): \< 24.1.6-r0
- debian xorg-server (Debian): \< 2:21.1.7-3+deb12u9 \| \< 2:21.1.16-1
- debian xwayland (Debian): All versions (No fix recorded) \| \< 2:24.1.6-1
- ubuntu xorg-server (Ubuntu): All versions (No fix recorded) \| \< 2:1.18.4-0ubuntu0.12+esm17 \| \< 2:1.19.6-1ubuntu4.15+esm12 \| \< 2:1.20.13-1ubuntu1~20.04.19 \| \< 2:21.1.4-2ubuntu1.7~22.04.13 \| \< 2:21.1.12-1ubuntu1.2 \| \< 2:21.1.16-1ubuntu1
- ubuntu xorg-server-hwe-16.04 (Ubuntu): \< 2:1.19.6-1ubuntu4.1~16.04.6+esm9
- ubuntu xorg-server-hwe-18.04 (Ubuntu): \< 2:1.20.8-2ubuntu2.2~18.04.11+esm4
- ubuntu xwayland (Ubuntu): \< 2:22.1.1-1ubuntu0.17 \| \< 2:23.2.6-1ubuntu0.4
- redhat enterprise\_linux: 7.0 \| 8.0 \| 9.0
- tigervnc tigervnc: na
- x.org x\_server: \< 21.1.16
- x.org xwayland: \< 24.1.6

## References (first 20 of 27)

- <https://access.redhat.com/errata/RHSA-2025:2500>
- <https://access.redhat.com/errata/RHSA-2025:2502>
- <https://access.redhat.com/errata/RHSA-2025:2861>
- <https://access.redhat.com/errata/RHSA-2025:2862>
- <https://access.redhat.com/errata/RHSA-2025:2865>
- <https://access.redhat.com/errata/RHSA-2025:2866>
- <https://access.redhat.com/errata/RHSA-2025:2873>
- <https://access.redhat.com/errata/RHSA-2025:2874>
- <https://access.redhat.com/errata/RHSA-2025:2875>
- <https://access.redhat.com/errata/RHSA-2025:2879>
- <https://access.redhat.com/errata/RHSA-2025:2880>
- <https://access.redhat.com/errata/RHSA-2025:3976>
- <https://access.redhat.com/errata/RHSA-2025:7163>
- <https://access.redhat.com/errata/RHSA-2025:7165>
- <https://access.redhat.com/errata/RHSA-2025:7458>
- <https://access.redhat.com/security/cve/CVE-2025-26598>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2345254>
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00036.html>
- <https://ubuntu.com/security/CVE-2025-26598>
- <https://www.cve.org/CVERecord?id=CVE-2025-26598>

---

Data as of 2026-12-05T06:22:01.413Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
