GHSA-wgf4-w3hh-3mvm
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated X client connection
-
ExploitSend crafted XKB ChangeKeycodeRange request
-
ExecutionTrigger heap overflow via size mismatch with XkbAllocNames
-
ImpactCrash or execute code in X-server context
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. |
| Exploitation Conditions | Requires an authenticated X client connection to the vulnerable X.org X server or XWayland instance and the ability to issue XKB keyboard-map requests that invoke ChangeKeycodeRange; the overflow is triggered when the requested keycode range mismatches the buffer sizes allocated by XkbAllocNames. Limiting factors: exploitation is local and authenticated (AV:L/PR:L), not remote-unauthenticated - the attacker must already be able to connect to the display server (e.g., a logged-in local user, a malicious/compromised GUI application, or a confined process with X access), and no user interaction is required (UI:N). Affected versions are X server before the 21.1.25-branch fix (described as '2.1.25') and XWayland before 24.1.14; updating to the patched versions is the vendor remedy. |
| Impact | CVSS 3.1 base score is 7.8 (High) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, which correctly frames this as a locally-exploitable, low-privilege flaw rather than a remote-network issue - the attack vector is Local (AV:L) and requires an authenticated X client (PR:L), consistent with the description's 'authenticated X clients.' No EPSS score, CISA KEV listing, or SSVC exploitation-status data was supplied, and no proof-of-concept or exploit reference is present (the GitLab links are upstream fix commits, not exploit code), so there is no public exploit identified at time of analysis. The vuln.today decision label is 'this_week,' indicating a meaningful but non-emergency priority. The realistic danger is weighted toward denial-of-service: the description states the overflow 'could crash or potentially execute code,' so code execution in X-server context (often a privileged process) is described as a possibility, not a demonstrated outcome. Net: a genuine privilege/stability concern for multi-user or sandbox-escape scenarios, but not a mass-exploitation, internet-facing emergency given the local, authenticated prerequisites and absence of exploitation signals. |
| Exploit ScenarioDerived | A local user or a confined/sandboxed process that already holds an authenticated connection to the X server sends crafted XKB requests exercising ChangeKeycodeRange so the keycode range mismatches the sizes allocated by XkbAllocNames, overflowing a heap buffer. This most reliably crashes the X server (DoS), and the vendor notes potential code execution in X-server context; no public PoC or exploit code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 28, 2026
Heap buffer overflow in X.Org X Server before 2.1.25 and XWayland before 24.1.14 allows an authenticated X client to crash the display server or potentially execute code in the X server context. The flaw is a local, low-privilege issue (CVSS 3.1 7.8, AV:L/AC:L/PR:L/UI:N) triggered when XKB ChangeKeycodeRange requests use a keycode range that mismatches XkbAllocNames buffer size calculations. No CISA KEV listing, EPSS score, or public exploit was identified at time of analysis; vendor patches are available.
Earlier versions of this analysis (1)
Heap out-of-bounds write in the X.Org X server (versions prior to xorg-server-21.1.25) and Xwayland (versions prior to xwayland-24.1.14) allows an authenticated X client to corrupt heap memory by issuing an XkbChangeKeycodeRange request that sets a keycode range where MAP_LENGTH exceeds max_key_code+1, leaving XkbAllocNames under-allocated while the subsequent memset writes MAP_LENGTH bytes. The flaw is an incomplete fix of an earlier XKB keycode-range change (commit a3171732d) and is scored locally as CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, meaning the attacker must already hold an authorized X connection - a local session, a compromised GUI application on the same display, or a forwarded X session - rather than merely reaching the host over the network. No CVSS vector, EPSS score, KEV listing, or public exploit code is present in the supplied data, so this analysis rests solely on the X.Org advisory text and no public exploit has been identified at time of analysis; the same October 7, 2026 advisory bundles six further memory-safety issues (CVE-2026-88812, -93515, -93516, -93517, -93518, -93519) fixed in the same releases.
RemediationAI
Vendor-released patch: update X.org X server to 2.1.25 or later and XWayland to 24.1.14 or later. Red Hat users should apply the applicable errata: RHSA-2026:85191, RHSA-2026:84574, or RHSA-2026:85193. Upstream fixes are available in the referenced GitLab commits. The supplied sources state that updating to the patched versions is the vendor remedy and do not describe an alternative workaround.
Affected VersionsENISA
Affected Packages
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 issue is in the X Keyboard Extension (XKB) handling of the X.Org X server and XWayland. XkbAllocNames allocates name buffers, while ChangeKeycodeRange processes a requested keycode range; the supplied assessment states the overflow occurs when the requested range and the allocated buffer sizes do not match, producing a heap-based buffer overflow (CWE-122). An attacker must already have an authenticated X client connection and be able to issue the relevant XKB request; this is not a remote-unauthenticated vector. Successful triggering can crash the X server or potentially lead to code execution in the X server context. The referenced upstream commits are fixes, not exploit code.
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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
An authenticated local X client issues the malicious XKB request (AV:L, PR:L, UI:N) with no special timing; potential code execution in X-server context yields high C/I/A.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
3Description PRE-NVD
Articles & Coverage 1
Zero Day Initiative Advisories
Executive ViewAI
A heap buffer overflow vulnerability in X.Org X Server and XWayland could allow an authenticated local user to crash the display server or potentially execute code with X server privileges. This impacts Linux/Unix systems using X11, affecting workstation and server environments where multiple users share graphical sessions. Leadership should prioritize patching to maintain system availability and prevent privilege escalation.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
EUVD-2026-112135
NVD
CVE.org
EPSS
VulDB
Exploit-DB