Cloudanix VulnDB

CVE-2025-26596

High · 7.8

CVSS

7.8

EPSS

0.4%

Published

Feb 25, 2025

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in keyboard handling software on Linux computers could let someone nearby run unwanted programs or crash the screen interface.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Full Compromise
Component
Application
Class
Buffer Overflow
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Heap-based buffer overflow in XkbSizeKeySyms() and XkbWriteKeySyms() due to mismatched length computation when handling XKB key symbols data.

Why it matters to the business

Local attackers may execute arbitrary code or crash the X server process, disrupting graphical sessions and potentially compromising affected Linux desktop systems.

How an attack unfolds

An attacker with local access supplies crafted XKB key symbol data that triggers the size mismatch, overflowing a heap buffer to gain code execution within the X server.

How to fix it

Upgrade X.Org X server, Xwayland, TigerVNC, and Red Hat Enterprise Linux packages to the latest patched releases as soon as vendor fixes are published; apply updates across all affected products.

How to confirm the fix worked

Confirm updated package versions via package manager queries and test XKB operations in isolated environments to verify absence of overflow behavior.

Typical attack path

  1. Gain local system access
  2. Prepare malicious XKB keyboard symbol payload
  3. Invoke vulnerable XKB functions via local X client
  4. Trigger heap overflow for code execution or denial of service

How to detect it

Inspect X server logs and system audit trails for anomalous XKB extension calls or repeated heap-related crashes; correlate with local process activity involving keyboard symbol processing.

What your security team should do

  • Prioritize patching all affected X server components upon release due to high local impact
  • Limit unnecessary local user access to graphical sessions
  • Review and harden XKB configuration handling in desktop environments

The record

A heap overflow flaw was found in X.Org and Xwayland. The computation of the length in XkbSizeKeySyms() differs from what is written in XkbWriteKeySyms(), which may lead to a heap-based buffer overflow.

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:8 tigervnc 0 1.13.1-15.el8_10
AlmaLinux:8 tigervnc-icons 0 1.13.1-15.el8_10
AlmaLinux:8 tigervnc-license 0 1.13.1-15.el8_10
AlmaLinux:8 tigervnc-selinux 0 1.13.1-15.el8_10
AlmaLinux:8 tigervnc-server 0 1.13.1-15.el8_10
AlmaLinux:8 tigervnc-server-minimal 0 1.13.1-15.el8_10
AlmaLinux:8 tigervnc-server-module 0 1.13.1-15.el8_10
AlmaLinux:9 tigervnc 0 1.14.1-1.el9_5.1
AlmaLinux:9 tigervnc-icons 0 1.14.1-1.el9_5.1
AlmaLinux:9 tigervnc-license 0 1.14.1-1.el9_5.1
AlmaLinux:9 tigervnc-selinux 0 1.14.1-1.el9_5.1
AlmaLinux:9 tigervnc-server 0 1.14.1-1.el9_5.1
AlmaLinux:9 tigervnc-server-minimal 0 1.14.1-1.el9_5.1
AlmaLinux:9 tigervnc-server-module 0 1.14.1-1.el9_5.1
AlmaLinux:9 xorg-x11-server-Xdmx 0 1.20.11-28.el9_6
AlmaLinux:9 xorg-x11-server-Xephyr 0 1.20.11-28.el9_6
AlmaLinux:9 xorg-x11-server-Xnest 0 1.20.11-28.el9_6
AlmaLinux:9 xorg-x11-server-Xorg 0 1.20.11-28.el9_6
AlmaLinux:9 xorg-x11-server-Xvfb 0 1.20.11-28.el9_6
AlmaLinux:9 xorg-x11-server-Xwayland 0 23.2.7-3.el9_6
AlmaLinux:9 xorg-x11-server-Xwayland-devel 0 23.2.7-3.el9_6
AlmaLinux:9 xorg-x11-server-common 0 1.20.11-28.el9_6
AlmaLinux:9 xorg-x11-server-devel 0 1.20.11-28.el9_6
AlmaLinux:9 xorg-x11-server-source 0 1.20.11-28.el9_6
Debian:11 xorg-server 0 No fix
Debian:11 xorg-server 0 2:1.20.11-1+deb11u15
Debian:12 xorg-server 0 No fix
Debian:12 xorg-server 0 2:21.1.7-3+deb12u9
Debian:12 xwayland 0 No fix
Debian:13 xorg-server 0 No fix
Debian:13 xwayland 0 No fix
Mageia:9 tigervnc 0 1.13.1-2.7.mga9
Mageia:9 x11-server 0 21.1.8-7.7.mga9
Mageia:9 x11-server-xwayland 0 22.1.9-1.7.mga9
SUSE:Enterprise Storage 7.1 xorg-x11-server 0 1.20.3-150200.22.5.102.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS xorg-x11-server 0 1.20.3-150200.22.5.102.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS xorg-x11-server 0 1.20.3-150400.38.54.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS xorg-x11-server 0 1.20.3-150400.38.54.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS xorg-x11-server 0 21.1.4-150500.7.32.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS xorg-x11-server 0 21.1.4-150500.7.32.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6 xorg-x11-server 0 21.1.11-150600.5.6.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6 xorg-x11-server 0 21.1.11-150600.5.6.1
SUSE:Linux Enterprise Server 12 SP5-LTSS xorg-x11-server 0 1.19.6-10.80.1
SUSE:Linux Enterprise Server 15 SP3-LTSS xorg-x11-server 0 1.20.3-150200.22.5.102.1
SUSE:Linux Enterprise Server 15 SP4-LTSS xorg-x11-server 0 1.20.3-150400.38.54.1
SUSE:Linux Enterprise Server 15 SP5-LTSS xorg-x11-server 0 21.1.4-150500.7.32.1
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 xorg-x11-server 0 1.19.6-10.80.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 xorg-x11-server 0 1.20.3-150200.22.5.102.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP4 xorg-x11-server 0 1.20.3-150400.38.54.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP5 xorg-x11-server 0 21.1.4-150500.7.32.1
SUSE:Linux Enterprise Workstation Extension 15 SP6 xorg-x11-server 0 1.20.3-150200.22.5.102.1
SUSE:Linux Enterprise Workstation Extension 15 SP6 xwayland 0 24.1.1-150600.5.9.1
SUSE:Manager Proxy 4.3 xorg-x11-server 0 1.20.3-150400.38.54.1
SUSE:Manager Server 4.3 xorg-x11-server 0 1.20.3-150400.38.54.1
openSUSE:Leap 15.6 xorg-x11-server 0 21.1.11-150600.5.6.1
openSUSE:Leap 15.6 xwayland 0 24.1.1-150600.5.9.1
openSUSE:Tumbleweed xorg-x11-server 0 21.1.15-2.1
openSUSE:Tumbleweed xwayland 0 24.1.5-2.1

Related vulnerabilities