StackPatch is liveSee product

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

CVE-2025-26595: 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.

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

Fix per ecosystem

Each block below is a distro release where CVE-2025-26595 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-26595?

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-26595dropped 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)