CVE-2025-26595 Details
Description
A buffer overflow flaw was found in X.Org and Xwayland. The code in XkbVModMaskText() allocates a fixed-sized buffer on the stack and copies the names of the virtual modifiers to that buffer. The code fails to check the bounds of the buffer and would copy the data regardless of the size.
A buffer overflow vulnerability has been identified in X.Org and Xwayland, specifically within the TigerVNC suite. The issue arises in the XkbVModMaskText() function, where a fixed-sized buffer is allocated on the stack. The function then copies the names of virtual modifiers into this buffer without properly checking the data's size, leading to a buffer overflow condition.
Users can apply the available update for this vulnerability. Instructions for applying the update can be found in the Red Hat Product Errata RHSA-2025:2500, RHSA-2025:2502, RHSA-2025:2861, RHSA-2025:2862, RHSA-2025:2865, RHSA-2025:2880, RHSA-2025:2873, RHSA-2025:2874, RHSA-2025:2875, RHSA-2025:7163, RHSA-2025:7165, and RHSA-2025:7458.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| tigervnc tigervnc | All versions |
CPE
Remediation
| |
| x.org x server | < 21.1.16 |
CPE
Remediation
| |
| x.org xwayland | < 24.1.6 |
CPE
Remediation
| |
| redhat enterprise linux | 7.0 8.0 9.0 |
CPE
Remediation
| |
Change History
17 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | CVE Modified | CVE |
| Nov 4, 2026 | CVE Modified | [email protected] |
| Jun 29, 2026 | CVE Modified | [email protected] |
| Jun 25, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 6, 2026 | CVE Modified | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| May 13, 2025 | CVE Modified | [email protected] |
| May 13, 2025 | CVE Modified | [email protected] |
| May 8, 2025 | Modified Analysis | [email protected] |
| Mar 17, 2025 | CVE Modified | [email protected] |
| Mar 17, 2025 | CVE Modified | [email protected] |
| Mar 17, 2025 | CVE Modified | [email protected] |
| Mar 10, 2025 | CVE Modified | [email protected] |
| Mar 4, 2025 | Initial Analysis | [email protected] |
| Feb 25, 2025 | New CVE Received | [email protected] |