Skip to main content
Network Thinking Solutions Logo

CVE-2025-26598

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.

All CVEs
CVE-2025-26598Published 2/25/2025

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.

Vendor advisory
CVSS 3.17.8High

Overview

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.

Published
2/25/2025
Last modified
11/23/2026
CVE assigner
redhat
NVD analysis
Modified

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
tigervnc
tigervnc
Range not specified — verify advisory

Verify advisory

Source
x server
x.org
< 21.1.16

Verify advisory

Source
xwayland
x.org
< 24.1.6

Verify advisory

Source
enterprise linux
redhat
7.0

Verify advisory

Source
enterprise linux
redhat
8.0

Verify advisory

Source
enterprise linux
redhat
9.0

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

access.redhat.com/errata/RHSA-2025:2500vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2502vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2861vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2862vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2865vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2866vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2873vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2874vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2875vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2879vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2880vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:3976vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:7163vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:7165vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:7458vendor-advisory · x_refsource_REDHAT

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

7.8 · High CVSS 3.1

Scored by redhat

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

7.8 · High CVSS 3.1

Scored by secalert@redhat.com

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

7.8 · High CVSS 3.1

Scored by nvd@nist.gov

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Related weaknesses

Sources & references

access.redhat.com/errata/RHSA-2025:2500
vendor-advisory
x_refsource_REDHAT
Third Party Advisory
access.redhat.com/errata/RHSA-2025:2502
vendor-advisory
x_refsource_REDHAT
Third Party Advisory
access.redhat.com/errata/RHSA-2025:2861
vendor-advisory
x_refsource_REDHAT
Third Party Advisory
access.redhat.com/errata/RHSA-2025:2862
vendor-advisory
x_refsource_REDHAT
Third Party Advisory
access.redhat.com/errata/RHSA-2025:2865
vendor-advisory
x_refsource_REDHAT
Third Party Advisory
access.redhat.com/errata/RHSA-2025:2866
vendor-advisory
x_refsource_REDHAT
Third Party Advisory
access.redhat.com/errata/RHSA-2025:2873
vendor-advisory
x_refsource_REDHAT
Third Party Advisory
access.redhat.com/errata/RHSA-2025:2874
vendor-advisory
x_refsource_REDHAT
Third Party Advisory
access.redhat.com/errata/RHSA-2025:2875
vendor-advisory
x_refsource_REDHAT
Third Party Advisory
access.redhat.com/errata/RHSA-2025:2879
vendor-advisory
x_refsource_REDHAT
Third Party Advisory
access.redhat.com/errata/RHSA-2025:2880
vendor-advisory
x_refsource_REDHAT
Third Party Advisory
access.redhat.com/errata/RHSA-2025:3976
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:7163
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:7165
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:7458
vendor-advisory
x_refsource_REDHAT
access.redhat.com/security/cve/CVE-2025-26598
vdb-entry
x_refsource_REDHAT
Third Party Advisory
bugzilla.redhat.com/show_bug.cgi?id=2345254
issue-tracking
x_refsource_REDHAT
Issue Tracking

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.