Name | CVE-2025-26597 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-4072-1, DSA-5872-1 |
Debian Bugs | 1098906, 1098907 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
xorg-server (PTS) | bullseye | 2:1.20.11-1+deb11u13 | vulnerable |
bullseye (security) | 2:1.20.11-1+deb11u16 | fixed | |
bookworm, bookworm (security) | 2:21.1.7-3+deb12u10 | fixed | |
trixie | 2:21.1.16-1.3 | fixed | |
forky, sid | 2:21.1.18-2 | fixed | |
xwayland (PTS) | bookworm | 2:22.1.9-1 | vulnerable |
trixie | 2:24.1.6-1 | fixed | |
forky, sid | 2:24.1.8-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
xorg-server | source | bullseye | 2:1.20.11-1+deb11u15 | DLA-4072-1 | ||
xorg-server | source | bookworm | 2:21.1.7-3+deb12u9 | DSA-5872-1 | ||
xorg-server | source | (unstable) | 2:21.1.16-1 | 1098906 | ||
xwayland | source | (unstable) | 2:24.1.6-1 | 1098907 |
[bookworm] - xwayland <ignored> (Minor issue; Xwayland shouldn't be running as root)
https://lists.x.org/archives/xorg-announce/2025-February/003584.html
Fixed by: https://gitlab.freedesktop.org/xorg/xserver/-/commit/0e4ed94952b255c04fe910f6a1d9c852878dcd64