7.8high
Xorg: xwayland: out-of-bounds write in createpointerbarrierclient()
- Severity
- 7.8high CVSS:3.1 by redhat
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| xserver | before 21.1.16, from 22.0.0 before 24.1.6 | CVE List |
| xorg-x11-server-Xwayland | Not specified Not affected: from 0:24.1.5-3.el10_0 before *, from 0:23.2.7-3.el9_6 before * | CVE List |
| tigervnc | Not specified Not affected: from 0:1.1.0-25.el6_10 before *, from 0:1.8.0-36.el7_9 before *, from 0:1.13.1-15.el8_10 before *, from 0:1.9.0-15.el8_2.13 before *, from 0:1.11.0-8.el8_4.12 before *, from 0:1.12.0-6.el8_6.13 before * | CVE List |
| xorg-x11-server | Not specified Not affected: from 0:1.20.4-30.el7_9 before *, from 0:1.20.11-28.el9_6 before * | CVE List |
| tigervnc tigervnc | Not specified | NVD |
| x.org x_server | before 21.1.16 | NVD |
| x.org xwayland | before 24.1.6 | NVD |
| redhat enterprise_linux | 7.0, 8.0, 9.0 | NVD |
All scores
| redhat | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Se encontró una falla de escritura fuera de los límites en X.Org y Xwayland. La función GetBarrierDevice() busca el dispositivo puntero en función de su ID de dispositivo y devuelve el valor coincidente, o supuestamente NULL, si no se encuentra ninguna coincidencia. Sin embargo, el código devolverá el último elemento de la lista si no se encuentra ninguna ID de dispositivo coincidente, lo que puede provocar un acceso a la memoria fuera de los límites.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-26598 changed 2026-11-23 | CVE Terms of Use |
| NVD | CVE-2025-26598 changed 2026-11-23 | Public domain |