# CVE-2025-26597: Xorg: xwayland: buffer overflow in xkbchangetypesofkey()

- 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:0739-1, SUSE-SU-2025:0740-1, SUSE-SU-2025:0757-1, SUSE-SU-2025:20161-1, SUSE-SU-2025:20299-1, UBUNTU-CVE-2025-26597, DEBIAN-CVE-2025-26597, openSUSE-SU-2025:14837-1, ALPINE-CVE-2025-26597
- Record: https://cvemate.com/vulnerability/CVE-2025-26597 · JSON: https://cvemate.com/vulnerability/CVE-2025-26597/json

## Description

```text
A buffer overflow flaw was found in X.Org and Xwayland. If XkbChangeTypesOfKey() is called with a 0 group, it will resize the key symbols table to 0 but leave the key actions unchanged. If the same function is later called with a non-zero value of groups, this will cause a buffer overflow because the key actions are of the wrong 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.502%, percentile 44.591%, 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 37)

- 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 libX11&distro=openSUSE Leap 15.6 (openSUSE): \< 1.8.7-150600.3.3.1
- opensuse libX11&distro=openSUSE Tumbleweed (openSUSE): \< 1.8.11-2.1
- suse libX11&distro=SUSE Enterprise Storage 7.1 (SUSE Linux Enterprise): \< 1.6.5-150000.3.36.1
- suse libX11&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS (SUSE Linux Enterprise): \< 1.6.5-150000.3.36.1
- suse libX11&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS (SUSE Linux Enterprise): \< 1.6.5-150000.3.36.1
- suse libX11&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS (SUSE Linux Enterprise): \< 1.6.5-150000.3.36.1
- suse libX11&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS (SUSE Linux Enterprise): \< 1.6.5-150000.3.36.1
- suse libX11&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS (SUSE Linux Enterprise): \< 1.6.5-150000.3.36.1
- suse libX11&distro=SUSE Linux Enterprise Micro 5.2 (SUSE Linux Enterprise): \< 1.6.5-150000.3.36.1
- suse libX11&distro=SUSE Linux Enterprise Micro 5.3 (SUSE Linux Enterprise): \< 1.6.5-150000.3.36.1
- suse libX11&distro=SUSE Linux Enterprise Micro 5.4 (SUSE Linux Enterprise): \< 1.6.5-150000.3.36.1

## References (first 20 of 35)

- <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-26597>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2345255>
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00036.html>
- <http://www.openwall.com/lists/oss-security/2026/06/02/1>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20250739-1/>

---

Data as of 2026-12-05T06:27:14.281Z. 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
