CVE-2025-26598: Out-of-bounds Write
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.
AI Analysis
Technical Summary
CVE-2025-26598 is an out-of-bounds write vulnerability in the X.Org and Xwayland components, caused by improper handling in the GetBarrierDevice() function. When searching for a pointer device by device ID, the function returns the last element of the device list instead of NULL if no match is found, which can lead to writing outside the bounds of allocated memory. This issue affects versions up to 22.0.0 and is part of a set of vulnerabilities addressed in recent tigervnc updates. Red Hat has issued security advisories (RHSA-2025:2500 and RHSA-2025:2502) providing patches for Red Hat Enterprise Linux 8 and 9 to remediate this vulnerability.
Potential Impact
The vulnerability allows out-of-bounds memory write, which can lead to corruption of memory, potentially causing crashes, data corruption, or escalation of privileges. The CVSS 3.1 score of 7.8 reflects high impact on confidentiality, integrity, and availability. There are no known exploits in the wild at the time of the advisory. The vulnerability affects multiple architectures supported by Red Hat Enterprise Linux 8 and 9.
Mitigation Recommendations
Red Hat has released official patches for this vulnerability as part of tigervnc updates for Red Hat Enterprise Linux 8 and 9. Users should apply these updates promptly following the guidance in the Red Hat advisories (RHSA-2025:2500 and RHSA-2025:2502) and the instructions at https://access.redhat.com/articles/11258. No additional mitigation steps are required beyond applying the official fixes.
CVE-2025-26598: Out-of-bounds Write
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-26598 is an out-of-bounds write vulnerability in the X.Org and Xwayland components, caused by improper handling in the GetBarrierDevice() function. When searching for a pointer device by device ID, the function returns the last element of the device list instead of NULL if no match is found, which can lead to writing outside the bounds of allocated memory. This issue affects versions up to 22.0.0 and is part of a set of vulnerabilities addressed in recent tigervnc updates. Red Hat has issued security advisories (RHSA-2025:2500 and RHSA-2025:2502) providing patches for Red Hat Enterprise Linux 8 and 9 to remediate this vulnerability.
Potential Impact
The vulnerability allows out-of-bounds memory write, which can lead to corruption of memory, potentially causing crashes, data corruption, or escalation of privileges. The CVSS 3.1 score of 7.8 reflects high impact on confidentiality, integrity, and availability. There are no known exploits in the wild at the time of the advisory. The vulnerability affects multiple architectures supported by Red Hat Enterprise Linux 8 and 9.
Mitigation Recommendations
Red Hat has released official patches for this vulnerability as part of tigervnc updates for Red Hat Enterprise Linux 8 and 9. Users should apply these updates promptly following the guidance in the Red Hat advisories (RHSA-2025:2500 and RHSA-2025:2502) and the instructions at https://access.redhat.com/articles/11258. No additional mitigation steps are required beyond applying the official fixes.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- redhat
- Date Reserved
- 2025-02-12T14:12:22.796Z
- Cisa Enriched
- true
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 682cd0fc1484d88663aecc05
Added to database: 5/20/2025, 6:59:08 PM
Last enriched: 4/7/2026, 5:52:32 AM
Last updated: 5/9/2026, 4:37:11 AM
Views: 73
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.