Skip to main content

X.Org X server CVE-2026-93522

CRITICAL
2026-10-07
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as local X client
  2. Delivery
    Send crafted image-upload/render request
  3. Exploit
    Trigger integer overflow in glamor allocation
  4. Execution
    Overflow undersized heap buffer in X server
  5. Impact
    Execute code or crash display server

Vulnerability Assessment

Exploitation Conditions

Exploitation requires the attacker to already be a connected, authenticated X client on the target X server or Xwayland instance - i.e. local access to an active X session (default on traditional Linux desktops using a local Unix-domain socket), not remote network access unless the server is explicitly configured to listen on TCP (non-default). Based on the inferred glamor/glamor_transfer.c fix, the vulnerable path (glamor_upload_boxes) additionally requires the glamor GPU-acceleration backend to be in use and a specific drawable/pixmap depth mismatch (24-bit drawable on a 32-bit pixmap) combined with dimensions large enough to overflow the size computation, so headless servers, non-glamor configurations, and small/ordinary rendering operations are not affected. LIMITING FACTORS: authenticated local X client required, glamor acceleration path required, and large/crafted dimensions needed to trigger the overflow - these conditions meaningfully narrow realistic exploitation. Note: because the exact CVE-2026-93522 description was truncated from the input, confirm these conditions against the full vendor advisory.

Impact

No CVSS vector, EPSS, KEV, or POC signal was provided for CVE-2026-93522, so quantitative risk signals are entirely absent and must be inferred from the X.Org advisory context and the linked source diffs. CRITICAL CAVEAT: the provided advisory text is truncated at CVE-2026-93520 and never reaches CVE-2026-93522's own paragraph, so the exact vulnerability description for THIS CVE is MISSING from the input - the analysis below is reconstructed from Linked article 2 (a glamor/glamor_transfer.c integer-overflow fix adding an INT_MAX/byte_stride guard in glamor_upload_boxes), which is the most likely match but is NOT independently confirmed to map to CVE-2026-93522. Across the entire advisory batch, every issue shares the same core risk profile: exploitation requires an already-authenticated/connected X client (local, low-privilege), and the memory-safety bug (here an integer overflow producing an undersized heap allocation followed by an out-of-bounds write) can yield denial of service or potentially arbitrary code execution in the X server process, which frequently runs with elevated or root privileges on traditional Linux desktops. This is a genuine local privilege-escalation / display-server-compromise class issue rather than a remote mass-exploitation threat: the authentication-and-local-client prerequisite substantially limits real-world weaponization, so it is a meaningful priority for multi-user and desktop hardening but not an internet-facing emergency. No signals conflict because none are present; the dominant uncertainty is data completeness, not signal disagreement.

Exploit ScenarioDerived

A local, authenticated user (or a malicious/compromised application running under a user's X session) connects to the X server as a normal client and issues a crafted image-upload/rendering request that triggers an integer overflow in glamor's buffer-size calculation, producing an undersized heap allocation that is then overwritten. This corrupts X server heap memory, crashing the display server (DoS) or potentially allowing code execution in the X server context, which is often privileged. No public exploit was provided in the input; the issue was reported through Trend/ZDI (ZDI-CAN series) with vendor source-code fixes.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet

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

Alert me

AnalysisAIv1 – Oct 07, 2026

Heap-based buffer overflow in X.Org X server and Xwayland's glamor acceleration backend (glamor_upload_boxes) allows an authenticated local X client to cause memory corruption, potentially leading to arbitrary code execution or denial of service. The flaw occurs when a 24-bit drawable is used with a 32-bit pixmap and crafted dimensions trigger an integer overflow in size calculation, affecting X.Org X server versions prior to 21.1.25 and Xwayland versions prior to 24.1.14. No public exploit code or active exploitation has been identified at time of analysis, but the vulnerability requires a local authenticated connection and glamor hardware acceleration to be enabled.

RemediationAI

Vendor-released patches are available: upgrade to xorg-server-21.1.25 or xwayland-24.1.14, which contain the fix commit ad26c26bf795. If immediate patching is not possible, consider disabling the glamor acceleration backend (e.g., by starting the X server with the '-noaccel' or '-nocgl' option, or by setting the environment variable 'LIBGL_ALWAYS_SOFTWARE=1' for Xwayland) as a temporary workaround; however, this will significantly degrade rendering performance and may not be applicable in all environments. Additionally, restrict access to the X server by using 'xhost' to allow only trusted local clients, or disable TCP listening if enabled, as the attack requires an authenticated local connection. For further guidance, consult the X.Org advisory at https://seclists.org/oss-sec/2026/q4/82 and the patch commit at https://gitlab.freedesktop.org/xorg/xserver/-/commit/ad26c26bf795.

Affected ProductsAI

Affected products include X.Org X server versions prior to 21.1.25 and Xwayland versions prior to 24.1.14. The vulnerability specifically impacts configurations where the glamor GPU-acceleration backend is active and where a 24-bit drawable is rendered to a 32-bit pixmap with dimensions that trigger the overflow. For a complete list of affected versions and configurations, refer to the X.Org Security Advisory at https://seclists.org/oss-sec/2026/q4/82 and the upstream fix commit https://gitlab.freedesktop.org/xorg/xserver/-/commit/ad26c26bf795.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The vulnerability resides in the glamor acceleration module of the X.Org X server, specifically in the glamor_upload_boxes function within glamor/glamor_transfer.c. Glamor is a 2D acceleration architecture that leverages OpenGL to offload rendering operations to the GPU. When uploading pixel data to a pixmap, the function allocates a temporary buffer using XNFalloc(byte_stride * pixmap->drawable.height) if the drawable's effective depth is 24 and the pixmap's depth is 32. However, the subsequent copy operation may exceed this buffer if the source and destination offsets (dy_dst, dy_src) and dimensions are not properly validated. The fix (commit ad26c26bf795) introduces a calculated tmp_height and checks for integer overflow, preventing the heap out-of-bounds write. This is a classic CWE-787 (Out-of-bounds Write) or CWE-122 (Heap-based Buffer Overflow) issue, exploitable only by an authenticated X client that can send crafted rendering requests to a server using the glamor backend.

Know when Gitlab gets its next vulnerability

  • 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

vuln.today AI 7.8 HIGH

Requires an authenticated local X client (AV:L, PR:L, UI:N); heap overflow in the often-privileged X server yields DoS or code execution, so C/I/A:H; AC:L as the trigger is attacker-controlled request data.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Description PRE-NVD

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

Executive ViewAI

Why It Matters

A critical memory-corruption flaw in the X.Org X server and Xwayland graphics acceleration component (glamor) affects the Linux workstations and virtual desktops that employees, engineers, and administrators rely on daily. An attacker who already has a foothold on a host - for example through a sandboxed application, browser, or compromised user session - can exploit this flaw to crash the graphical session or potentially execute code in the context of the X server, turning a limited local foothold into a broader compromise or widespread desktop outage. Because no vendor patch is currently available, leadership should expect a period of elevated exposure for any fleet running hardware-accelerated X.Org or Xwayland deployments and should endorse interim configuration hardening and accelerated vendor engagement.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable glamor hardware acceleration or force software rendering on affected X.Org X server (prior to 21.1.25) and Xwayland (prior to 24.1.14) deployments; restrict and authenticate local X client connections via Xauthority cookies and the X SECURITY extension; run untrusted graphical applications in sandboxed containers (e.g., Flatpak, bubblewrap) that limit access to the X socket; reduce multi-user exposure on shared workstations and VDI hosts; and monitor for X server crashes or anomalous process activity originating from Xorg/Xwayland.

Threat Intelligence Overview

Prevalence
High
X.Org X server/Xwayland is the display server on most traditional Linux desktops
Data Quality
1 sources
Confidence: Low

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 CRITICAL
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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.

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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Gitlab

View all
CVE-2021-22205 CRITICAL POC
10.0 Apr 23

An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10

CVE-2023-7028 CRITICAL POC
10.0 Jan 12

An issue has been discovered in GitLab CE/EE affecting all versions from 16.1 prior to 16.1.6, 16.2 prior to 16.2.9, 16.

CVE-2021-22175 CRITICAL POC
9.8 Jun 11

When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af

CVE-2026-85706 CRITICAL POC
10.0 Sep 12

Unauthenticated arbitrary file read in GitLab CE/EE lets remote attackers retrieve files from the GitLab server via the

CVE-2013-4490 MEDIUM POC
6.5 May 13

The SSH key upload feature (lib/gitlab_keys.rb) in gitlab-shell before 1.7.3, as used in GitLab 5.0 before 5.4.1 and 6.x

CVE-2022-2992 CRITICAL POC
9.9 Oct 17

A vulnerability in GitLab CE/EE affecting all versions from 11.10 prior to 15.1.6, 15.2 to 15.2.4, 15.3 to 15.3.2 allows

CVE-2026-97229 CRITICAL POC
10.0 Oct 13

Remote code execution in GitLab CE/EE (all versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2)

CVE-2026-87719 CRITICAL POC
9.9 Sep 12

Sensitive credential and configuration disclosure in GitLab Enterprise Edition allows an authenticated user with Duo Cha

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4

CVE-2026-93577 CRITICAL POC
9.9 Sep 23

Authenticated code execution on the GitLab server is possible in GitLab CE/EE 19.2 through 19.4.0, where an integer over

CVE-2026-89078 CRITICAL POC
9.9 Sep 23

Authenticated users who can define or modify a CI/CD configuration can achieve remote code execution on GitLab CE/EE ser

CVE-2026-61560 CRITICAL POC
9.8 Sep 15

Unauthenticated path traversal in the @zereight/mcp-gitlab Model Context Protocol server prior to version 2.1.27 allows

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