# CVE-2025-26595: Xorg: xwayland: buffer overflow in xkbvmodmasktext()

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-02-25 · Modified: 2026-11-23
- Aliases: SUSE-SU-2025:0758-1, SUSE-SU-2025:0818-1, UBUNTU-CVE-2025-26595, DEBIAN-CVE-2025-26595, openSUSE-SU-2025:14838-1, ALPINE-CVE-2025-26595
- Record: https://cvemate.com/vulnerability/CVE-2025-26595 · JSON: https://cvemate.com/vulnerability/CVE-2025-26595/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.495%, percentile 44.104%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 31)

- alpine xorg-server (Alpine Linux): \< 21.1.16-r0
- alpine xwayland (Alpine Linux): \< 24.1.6-r0
- debian xorg-server (Debian): \< 2:21.1.7-3+deb12u9 \| \< 2:21.1.16-1
- debian xwayland (Debian): All versions (No fix recorded) \| \< 2:24.1.6-1
- ubuntu xorg-server (Ubuntu): All versions (No fix recorded) \| \< 2:1.18.4-0ubuntu0.12+esm17 \| \< 2:1.19.6-1ubuntu4.15+esm12 \| \< 2:1.20.13-1ubuntu1~20.04.19 \| \< 2:21.1.4-2ubuntu1.7~22.04.13 \| \< 2:21.1.12-1ubuntu1.2 \| \< 2:21.1.16-1ubuntu1
- ubuntu xorg-server-hwe-16.04 (Ubuntu): \< 2:1.19.6-1ubuntu4.1~16.04.6+esm9
- ubuntu xorg-server-hwe-18.04 (Ubuntu): \< 2:1.20.8-2ubuntu2.2~18.04.11+esm4
- ubuntu xwayland (Ubuntu): \< 2:22.1.1-1ubuntu0.17 \| \< 2:23.2.6-1ubuntu0.4
- redhat enterprise\_linux: 7.0 \| 8.0 \| 9.0
- opensuse libxkbfile&distro=openSUSE Leap 15.6 (openSUSE): \< 1.0.9-150000.3.3.1
- opensuse libxkbfile&distro=openSUSE Tumbleweed (openSUSE): \< 1.1.3-2.1
- suse libxkbfile&distro=SUSE Enterprise Storage 7.1 (SUSE Linux Enterprise): \< 1.0.9-150000.3.3.1
- suse libxkbfile&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS (SUSE Linux Enterprise): \< 1.0.9-150000.3.3.1
- suse libxkbfile&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS (SUSE Linux Enterprise): \< 1.0.9-150000.3.3.1
- suse libxkbfile&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS (SUSE Linux Enterprise): \< 1.0.9-150000.3.3.1
- suse libxkbfile&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS (SUSE Linux Enterprise): \< 1.0.9-150000.3.3.1
- suse libxkbfile&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS (SUSE Linux Enterprise): \< 1.0.9-150000.3.3.1
- suse libxkbfile&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6 (SUSE Linux Enterprise): \< 1.0.9-150000.3.3.1
- suse libxkbfile&distro=SUSE Linux Enterprise Server 12 SP5-LTSS (SUSE Linux Enterprise): \< 1.0.8-12.3.1
- suse libxkbfile&distro=SUSE Linux Enterprise Server 15 SP3-LTSS (SUSE Linux Enterprise): \< 1.0.9-150000.3.3.1

## References (first 20 of 31)

- <https://access.redhat.com/errata/RHSA-2025:2500>
- <https://access.redhat.com/errata/RHSA-2025:2502>
- <https://access.redhat.com/errata/RHSA-2025:2861>
- <https://access.redhat.com/errata/RHSA-2025:2862>
- <https://access.redhat.com/errata/RHSA-2025:2865>
- <https://access.redhat.com/errata/RHSA-2025:2866>
- <https://access.redhat.com/errata/RHSA-2025:2873>
- <https://access.redhat.com/errata/RHSA-2025:2874>
- <https://access.redhat.com/errata/RHSA-2025:2875>
- <https://access.redhat.com/errata/RHSA-2025:2879>
- <https://access.redhat.com/errata/RHSA-2025:2880>
- <https://access.redhat.com/errata/RHSA-2025:3976>
- <https://access.redhat.com/errata/RHSA-2025:7163>
- <https://access.redhat.com/errata/RHSA-2025:7165>
- <https://access.redhat.com/errata/RHSA-2025:7458>
- <https://access.redhat.com/security/cve/CVE-2025-26595>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2345257>
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00036.html>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20250758-1/>
- <https://bugzilla.suse.com/1237429>

---

Data as of 2026-12-05T04:23:42.130Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
