CVE-2025-26598
JSON

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 packageVersionsReported by
xserverbefore 21.1.16, from 22.0.0 before 24.1.6CVE List
xorg-x11-server-XwaylandNot specified
Not affected: from 0:24.1.5-3.el10_0 before *, from 0:23.2.7-3.el9_6 before *
CVE List
tigervncNot 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-serverNot specified
Not affected: from 0:1.20.4-30.el7_9 before *, from 0:1.20.11-28.el9_6 before *
CVE List
tigervnc tigervncNot specifiedNVD
x.org x_serverbefore 21.1.16NVD
x.org xwaylandbefore 24.1.6NVD
redhat enterprise_linux7.0, 8.0, 9.0NVD

All scores

redhat7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-787

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

https://access.redhat.com/errata/RHSA-2025:2500third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2502third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2861third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2862third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2865third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2866third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2873third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2874third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2875third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2879third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2880third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:3976vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-26598 changed 2026-11-23CVE Terms of Use
NVDCVE-2025-26598 changed 2026-11-23Public domain