CVE-2025-26595
Xorg: xwayland: buffer overflow in xkbvmodmasktext()
- State
- Published
- Severity
- 7.8 High
- Published
- Feb 25, 2025
- Updated
- Jun 29, 2026
- Reserved
- Feb 12, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-121 Stack-based Buffer Overflow
Affected Products
| Product | Versions |
|---|---|
xserver |
|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONRed Hat |
|
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat |
|
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.2 Advanced Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.2 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9.4 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 6Red Hat | |
Red Hat Enterprise Linux 8Red Hat | |
Red Hat Enterprise Linux 8Red Hat |
References
- RHSA-2025:2500vendor-advisory
- RHSA-2025:2502vendor-advisory
- RHSA-2025:2861vendor-advisory
- RHSA-2025:2862vendor-advisory
- RHSA-2025:2865vendor-advisory
- RHSA-2025:2866vendor-advisory
- RHSA-2025:2873vendor-advisory
- RHSA-2025:2874vendor-advisory
- RHSA-2025:2875vendor-advisory
- RHSA-2025:2879vendor-advisory
- RHSA-2025:2880vendor-advisory
- RHSA-2025:3976vendor-advisory
- RHSA-2025:7163vendor-advisory
- RHSA-2025:7165vendor-advisory
- RHSA-2025:7458vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-26595vdb-entry
- RHBZ#2345257issue-tracking
- https://lists.debian.org/debian-lts-announce/2025/02/msg00036.html
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.