Skip to main content

X.Org X Server EUVDEUVD-2026-112122

| CVE-2026-93518 HIGH
Heap-based Buffer Overflow (CWE-122)
7.8
CVSS 3.1 · Vendor
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

No CVSS, EPSS, KEV, or POC data was supplied for this CVE, so quantitative exploitation signals are entirely absent and the following is inferred from the X.Org advisory text plus my own CVSS assessment. The flaw is a classic integer-truncation heap overflow: in XkbResizeKeyType() the expression (nTotal * 15) / 10 is assigned to an unsigned short (size_syms), wrapping past 65535 and producing an undersized allocation that subsequent writes overflow - a memory-corruption primitive the vendor states can yield arbitrary code execution or a crash. Crucially, this is an X-server-protocol bug: the attacker must be a connected X client, which makes the realistic attack vector local (display/session access) rather than network, so I assess AV:L/PR:L - NOT a remote unauthenticated issue despite 'code execution' language. Exploitation status is 'no public exploit identified at time of analysis'; it was reported privately through Trend/ZDI (ZDI-CAN-31834), which argues against in-the-wild activity but reflects a credibly exploitable primitive. Net priority: moderate-to-high on multi-user, kiosk, or sandboxed-GUI hosts (where an untrusted local client or escaped sandbox could reach the X server, historically a high-privilege process) and for local privilege escalation / sandbox-escape chains; low priority as an internet-facing mass-exploitation risk. Key missing data: official CVSS vector, CWE (this is CWE-190→CWE-787), EPSS, and any downstream-distro severity rating - these should be confirmed against the eventual NVD/distro entries.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 07, 2026

Heap buffer overflow in X.Org X Server versions prior to 21.1.25 and in Xwayland prior to 24.1.14 stems from an integer truncation inside XkbResizeKeyType(), where the computed key-symbol count is stored in an unsigned short and wraps for sufficiently large nTotal values, yielding an undersized allocation that subsequent writes overflow. The X.Org advisory of October 2026 states the trigger is an X client sending crafted XKB requests that resize a key type with a large nTotal; because no CVSS vector was supplied, authentication requirements are not confirmed from available data, and the advisory's own phrasing describes the actor as an authenticated X client. No CVSS score, EPSS estimate, CISA KEV listing, or public exploit code was available at time of analysis, so no public exploit identified at time of analysis; the vendor assesses the impact as heap corruption that can lead to arbitrary code execution or denial of service. This CVE is one of seven flaws disclosed together in the same X.Org security advisory.

RemediationAI

Apply the vendor-released patch by upgrading to xorg-server 21.1.25 or later, and to xwayland 24.1.14 or later; the upstream fix for this specific truncation is commit 89101a6c6618, and the same release also closes the six other flaws in the advisory, so a single upgrade covers the whole batch. On Wayland systems, note that Xwayland is usually shipped by the compositor's packaging (GNOME, KDE, wlroots-based compositors), so updating the compositor stack may be required rather than updating an Xorg package. If immediate patching is not possible, the practical compensating controls are all variations on reducing who can reach the X display: stop exposing the server over TCP (run with -nolisten tcp and ensure X11 forwarding is not enabled on SSH), restrict display access to trusted local users via Xauthority and filesystem permissions on /tmp/.X11-unix, and never run untrusted or third-party X clients against a production display, since the advisory treats an attacker-controlled client as the trigger. For high-assurance environments, run untrusted X applications inside a nested or isolated server (Xephyr, Xpra, or a separate Xwayland instance in a sandbox) and confine the real server with SELinux/AppArmor so a compromised client cannot reach the production display; the trade-off is reduced compatibility and performance for accelerated graphics and clipboard/drag-and-drop integration. Disabling XKB is not a viable mitigation because it is effectively core to keyboard handling and would break input on most systems.

Affected VersionsENISA

xwayland 0 <24.1.14
xorg-x11-server 0 <21.1.25

Affected Packages

euvd xorg_x11_server fix: 21.1.25
euvd xwayland fix: 24.1.14

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The X Keyboard Extension (XKB) is a core protocol extension of the X11 server that clients use to query and reconfigure the keyboard map, key types, and geometry. XkbResizeKeyType() recalculates the allocation needed for a key type's symbol array; the surrounding code declares size_syms as an unsigned short and computes the needed count with the expression (nTotal * 15) / 10, which exceeds 65535 once nTotal grows large, so the assignment silently truncates. The truncated value is used as an allocation size while the full, untruncated count governs subsequent writes, producing a classic integer-truncation-to-heap-overflow chain (CWE-197 class root cause manifesting as a heap-based buffer overflow). The affected code path is reachable through ordinary XKB protocol requests handled by the X server itself, which means every client that can reach the display connection is a potential attacker surface; the advisory notes that the same October 2026 release batch (xorg-server 21.1.25 / xwayland 24.1.14) also fixes double-free, use-after-free, and other overflow defects in XKB SetGeometry, Present cross-window notifies, XInput passive grabs, GLX RenderLarge, XFixes pointer barriers, and XKB ChangeKeycodeRange. The upstream fix for this specific issue is commit 89101a6c6618 in the xorg/xserver GitLab repository, and a related commit ad26c26bf795 appears in the reference set; both point to the same upstream hardening effort rather than to a tagged distro build.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CNA) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 7.8 MEDIUM

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

A critical heap buffer overflow in X.Org X Server versions prior to 21.1.25 and Xwayland versions prior to 24.1.14 could allow a crafted XKB request to corrupt memory, leading to arbitrary code execution or denial of service. These components are widely deployed across Linux desktops, remote access gateways, and containerized environments, so a successful attack could compromise user sessions and critical workloads. With no vendor-released patch identified at time of analysis and no public exploit identified at time of analysis, leadership should prioritize restricting untrusted X client access and monitoring for vendor updates.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict X server access to trusted clients only via Xauthority and disable xhost; disable the XKB extension if feasible; run X.Org X Server and Xwayland with least privilege and under SELinux or AppArmor confinement; isolate Xwayland in containers or dedicated user sessions; use Wayland without Xwayland for untrusted workloads; monitor for crashes and anomalous XKB requests.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Very High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy