CVE-2026-93518

X.Org Server XKB ResizeKeyType Numeric Truncation

Published Oct 28, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
An integer truncation issue in XkbResizeKeyType() that could lead to a heap buffer overflow by authenticated X clients in X.org X server before 21.1.25 and XWayland before 24.1.14 could be exploited for crashes or potential code execution in the X server.

Analysis

AI-generated

Technical impact

The vulnerability is an integer truncation in the XkbResizeKeyType() function of the Xorg X server and XWayland. Versions before 21.1.25 for the Xorg X11 server and before 24.1.14 for XWayland are affected. The truncation causes the server to allocate a buffer smaller than required when resizing key types, enabling an authenticated local client to send specially crafted XKB requests that overflow the heap. This heap buffer overflow can lead to an arbitrary memory overwrite, potentially crashing the X server or allowing the attacker to execute arbitrary code on the host.

Affected Systems

The flaw affects the xorg-x11-server and xwayland binaries. Vulnerable versions are those released before 21.1.25 for the Xorg X11 server and before 24.1.14 for XWayland. The attack requires a locally authenticated client that communicates with the X server on the same machine.

Risk and Exploitability

The CVSS score of 7.8 signals a high risk level. The EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires a local authenticated client, which limits widespread exploitation. An attacker with local access can trigger the heap overflow to cause a crash or potentially execute arbitrary code, resulting in denial of service or potential local privilege escalation. Defensive actions include applying the vendor patch when available or disabling the XKB extension to eliminate the vulnerable code paths.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the xorg-x11-server package to the latest version that includes the XKB integer truncation fix.
  • If an update is not immediately possible, disable the XKB extension in the X server configuration to eliminate the vulnerable code paths for local clients.
  • Restrict local clients’ access rights to the X server, limiting the ability of unauthenticated or untrusted users to send arbitrary XKB requests.

Generated by OpenCVE AI on October 28, 2026 at 15: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. Due to an integer truncation issue during memory allocation calculations within the X Keyboard Extension (XKB), the server allocates an undersized buffer when resizing key types. An authenticated local client can exploit this vulnerability by sending specially crafted XKB requests, causing a heap-based buffer overflow. This can result in arbitrary code execution or a denial of service (DoS). An integer truncation issue in XkbResizeKeyType() that could lead to a heap buffer overflow by authenticated X clients in X.org X server before 21.1.25 and XWayland before 24.1.14 could be exploited for crashes or potential code execution in the X server.
Title xorg-x11-server: XKB ResizeKeyType Numeric Truncation X.Org Server XKB ResizeKeyType Numeric Truncation
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. Due to an integer truncation issue during memory allocation calculations within the X Keyboard Extension (XKB), the server allocates an undersized buffer when resizing key types. An authenticated local client can exploit this vulnerability by sending specially crafted XKB requests, causing a heap-based buffer overflow. This can result in arbitrary code execution or a denial of service (DoS).
Title xorg-x11-server: XKB ResizeKeyType Numeric Truncation
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 5, 2026, 6:43 PM
Reserved
Sep 18, 2026, 8:46 AM
Status
Awaiting Analysis
Published
Oct 28, 2026, 3:17 PM
Modified
Nov 5, 2026, 7:17 PM
Severity
Moderate
Public date
Oct 7, 2026, 12:00 PM