Code execution via undersized XKB names allocation
Published Oct 28, 2026 · Updated Oct 28, 2026
XKB heap overflow in X.Org Server and Xwayland allows local users to crash the server via crafted keycode-change requests. XkbAllocNames allocates names->keys using max_key_code+1, but XkbChangeKeycodeRange clears memory through MAP_LENGTH, exceeding that allocation. Triggering the overflow requires an authenticated X client and a loaded keycode range below 255 that a SetMap request extends to 255; memory corruption also enables code execution with the display server's privileges.
Summary
What happened
XKB heap overflow in X.Org Server and Xwayland allows local users to crash the server via crafted keycode-change requests. XkbAllocNames allocates names->keys using max_key_code+1, but XkbChangeKeycodeRange clears memory through MAP_LENGTH, exceeding that allocation. Triggering the overflow requires an authenticated X client and a loaded keycode range below 255 that a SetMap request extends to 255; memory corruption also enables code execution with the display server's privileges.
The record
- CVE
- CVE-2026-93520
- Published
- Oct 28, 2026
- Updated
- Oct 28, 2026
- Vendor
- X.Org
- Product
- Xwayland
- Classifications
- CWE-787, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 28, 2026CVE publishedPublication date reported by the CVE source.
- Oct 28, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <24.1.14
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Activity data is delayed. The latest report is Sep 28, 2026.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Get started to see how Hinoki identifies affected software and validates exploitability in your environment.
Contact us