CVE-2026-93520

X.Org Server XKB ChangeKeycodeRange Heap Out-of-Bounds Write

Published Oct 28, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
A heap buffer overflow caused by mismatching size calculations between XkbAllocNames and ChangeKeycodeRange in X.org X server before 2.1.25 and XWayland before 24.1.14 could be used by authenticated X clients to crash or potentially execute code in X server context.

Analysis

AI-generated

Technical impact

A heap buffer overflow caused by mismatching size calculations between XkbAllocNames and ChangeKeycodeRange in the X.org X server before 2.1.25 and XWayland before 24.1.14 can be used by authenticated X clients to crash the server or potentially execute code in the X server context. The flaw originates from an insufficient buffer size allocation for key name memory when adjusting the keycode range, leading to a heap-based overflow that threatens confidentiality, integrity, and availability.

Affected Systems

The affected products are the Xorg X11 server before 2.1.25 and the XWayland before 24.1.14. Specific vendor and version details are not enumerated in the provided data, but the issue applies to Linux/Unix environments running the Xorg server or XWayland that support XKB functionality.

Risk and Exploitability

The CVSS score of 7.8 reflects a high risk for local attackers who can authenticate to the X server. With the EPSS score unavailable, the potential for exploitation remains uncertain, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is a local authenticated client issuing XKB ChangeKeycodeRange requests, which can destabilize the X server or give the attacker code execution capabilities on the host system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest patch for the Xorg X11 server that corrects the XKB keycode range memory allocation
  • Run the X server with the minimum required privileges and limit local client connections to trusted users
  • If a patch is not yet available, disable XKB ChangeKeycodeRange support or restrict XKB configuration changes through server configuration or security policies

Generated by OpenCVE AI on October 28, 2026 at 16:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in xorg-x11-server. In the X Keyboard Extension (XKB), key name memory is allocated with an insufficient buffer size compared to the maximum supported range. An authenticated local client can exploit this flaw by sending requests that modify the keycode range, triggering a heap-based buffer overflow. This vulnerability can lead to arbitrary code execution or cause a Denial of Service (DoS) by crashing the X server. A heap buffer overflow caused by mismatching size calculations between XkbAllocNames and ChangeKeycodeRange in X.org X server before 2.1.25 and XWayland before 24.1.14 could be used by authenticated X clients to crash or potentially execute code in X server context.
Title xorg-x11-server: XKB ChangeKeycodeRange Heap Out-of-Bounds Write X.Org Server XKB ChangeKeycodeRange Heap Out-of-Bounds Write
First Time appeared X.org xorg-x11-server
X.org xwayland
Weaknesses CWE-122
CPEs cpe:2.3:a:x.org:xorg-x11-server:*:*:*:*:*:*:*:*
cpe:2.3:a:x.org:xwayland:*:*:*:*:*:*:*:*
Vendors & Products X.org xorg-x11-server
X.org xwayland
References
Type Values Removed Values Added
First Time appeared X.org
X.org xorg-server
Vendors & Products X.org
X.org xorg-server
Type Values Removed Values Added
Description A flaw was found in xorg-x11-server. In the X Keyboard Extension (XKB), key name memory is allocated with an insufficient buffer size compared to the maximum supported range. An authenticated local client can exploit this flaw by sending requests that modify the keycode range, triggering a heap-based buffer overflow. This vulnerability can lead to arbitrary code execution or cause a Denial of Service (DoS) by crashing the X server.
Title xorg-x11-server: XKB ChangeKeycodeRange Heap Out-of-Bounds Write
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate

Weaknesses

Sources

Status
PUBLISHED
Assigner
suse
Published
Updated
Nov 7, 2026, 4:55 AM
Reserved
Sep 18, 2026, 8:46 AM
Status
Awaiting Analysis
Published
Oct 28, 2026, 3:17 PM
Modified
Nov 7, 2026, 5:19 AM
Severity
Moderate
Public date
Oct 7, 2026, 12:00 PM