StackPatch is liveSee product

Back to CVE digest
CVE-2025-26597 · cross-distro fix matrix

CVE-2025-26597: 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 th

Affects 5 Linux releases across 8 (distro × package) combinations.

Fix per ecosystem

Each block below is a distro release where CVE-2025-26597 has a known fix. Run the listed command on that distro to remediate.

Debian bullseye

Source: Debian Security Tracker

  • xorg-server→ fixed in2:1.20.11-1+deb11u15urgency: not yet assigned
    sudo apt-get install --only-upgrade -y xorg-server

Debian bookworm

Source: Debian Security Tracker

  • xorg-server→ fixed in2:21.1.7-3+deb12u9urgency: not yet assigned
    sudo apt-get install --only-upgrade -y xorg-server

Debian trixie

Source: Debian Security Tracker

  • xorg-server→ fixed in2:21.1.16-1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y xorg-server
  • xwayland→ fixed in2:24.1.6-1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y xwayland

Alpine v3.21

Source: Alpine secdb

  • xorg-server→ fixed in21.1.16-r0
    apk update && apk add --upgrade xorg-server
  • xwayland→ fixed in24.1.6-r0
    apk update && apk add --upgrade xwayland

Alpine edge

Source: Alpine secdb

  • xorg-server→ fixed in21.1.16-r0
    apk update && apk add --upgrade xorg-server
  • xwayland→ fixed in24.1.6-r0
    apk update && apk add --upgrade xwayland
Are YOU affected by CVE-2025-26597?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2025-26597dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. $99 lifetime, 50 founder seats, 30-day refund.

See StackPatch ($99 lifetime)