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.
Published: 2026-10-28
Score: 7.8 High
EPSS: n/a
KEV: No
Impact: Heap buffer overflow leading to arbitrary code execution or denial of service
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Wed, 28 Oct 2026 15:15:00 +0000

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

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared X.org
X.org xorg-server
Vendors & Products X.org
X.org xorg-server

Thu, 08 Oct 2026 12:15:00 +0000

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


Subscriptions

X.org Xorg-server Xorg-x11-server Xwayland
cve-icon MITRE

Status: PUBLISHED

Assigner: suse

Published:

Updated: 2026-10-28T14:59:50.140Z

Reserved: 2026-09-18T08:46:56.692Z

Link: CVE-2026-93520

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-28T15:17:10.667

Modified: 2026-10-28T15:21:55.940

Link: CVE-2026-93520

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-07T12:00:00Z

Links: CVE-2026-93520 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T16:45:04Z

Weaknesses