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

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.

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

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

History

Wed, 28 Oct 2026 14:45:00 +0000

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

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


Subscriptions

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

Status: PUBLISHED

Assigner: suse

Published:

Updated: 2026-10-28T14:32:01.702Z

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

Link: CVE-2026-93518

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

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

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

Link: CVE-2026-93518

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-93518 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T15:45:07Z

Weaknesses