CVE-2025-26598

Xorg: xwayland: out-of-bounds write in createpointerbarrierclient()

State
Published
Severity
7.8 High
Published
Feb 25, 2025
Updated
Jun 29, 2026
Reserved
Feb 12, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat

Weaknesses

Affected Products

ProductVersions
xserver
  • before 21.1.16Affected
  • 22.0.0 to before 24.1.6Affected
Red Hat Enterprise Linux 10Red Hat
  • 0:24.1.5-3.el10_0 and laterNot affected
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONRed Hat
  • 0:1.1.0-25.el6_10 and laterNot affected
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat
  • 0:1.8.0-36.el7_9 and laterNot affected
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat
  • 0:1.20.4-30.el7_9 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:1.13.1-15.el8_10 and laterNot affected
Red Hat Enterprise Linux 8.2 Advanced Update SupportRed Hat
  • 0:1.9.0-15.el8_2.13 and laterNot affected
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat
  • 0:1.11.0-8.el8_4.12 and laterNot affected
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRed Hat
  • 0:1.11.0-8.el8_4.12 and laterNot affected
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRed Hat
  • 0:1.11.0-8.el8_4.12 and laterNot affected
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat
  • 0:1.12.0-6.el8_6.13 and laterNot affected
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRed Hat
  • 0:1.12.0-6.el8_6.13 and laterNot affected
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRed Hat
  • 0:1.12.0-6.el8_6.13 and laterNot affected
Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat
  • 0:1.12.0-15.el8_8.12 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:1.14.1-1.el9_5.1 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:1.20.11-28.el9_6 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:23.2.7-3.el9_6 and laterNot affected
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRed Hat
  • 0:1.11.0-22.el9_0.13 and laterNot affected
Red Hat Enterprise Linux 9.2 Extended Update SupportRed Hat
  • 0:1.12.0-14.el9_2.10 and laterNot affected
Red Hat Enterprise Linux 9.4 Extended Update SupportRed Hat
  • 0:1.13.1-8.el9_4.5 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 8Red Hat
      Red Hat Enterprise Linux 8Red Hat

        References

        Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.