CVE-2026-93522: 
Rocky Linux Análise e mitigação de vulnerabilidades

Visão geral

CVE-2026-93522 is a heap-based buffer overflow vulnerability in the Glamor acceleration layer of the X.Org X Server and XWayland, specifically in the CopyArea CPU-to-FBO (Framebuffer Object) path. It affects X.Org X Server before version 21.1.15 (RPM packages before 21.1.25) and XWayland before version 24.1.14. The vulnerability was disclosed on October 7, 2026, and has a CVSS v3.1 base score of 7.8 (High) (Red Hat CVE, Red Hat Bugzilla).

Detalhes técnicos

The root cause (CWE-122: Heap-based Buffer Overflow) lies in the glamor_upload_boxes() function, which allocates the tmp_bits buffer — used for 24-bit to 32-bit depth conversion — based on the destination pixmap height, but indexes it using source coordinates (y1 - dy_dst + dy_src). When the source pixmap is taller than the destination, the source-relative offset exceeds the allocated buffer size, causing out-of-bounds writes past the buffer end. Exploitation requires a locally authenticated X client to send a crafted CopyArea request where the source region is larger than the destination, triggering the overflow. The vulnerability was discovered by an anonymous researcher working with Trend Micro's Zero Day Initiative (ZDI-CAN-32361) (Red Hat Bugzilla).

Impacto

Successful exploitation allows an authenticated local X client to crash the X server (denial of service) or potentially execute arbitrary code within the X server's privilege context. Because the X server often runs with elevated privileges on Linux desktop systems, code execution could lead to privilege escalation, full system compromise, and access to sensitive data processed by the display server. The scope is limited to the local system, but lateral movement within a multi-user environment is possible if the X server is shared (Red Hat CVE, Red Hat Bugzilla).

Explorabilidade

No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the time of this report. The vulnerability requires local authentication (a valid X client session), which limits the attack surface compared to remote vulnerabilities. The EPSS score is approximately 0.202%, indicating a low probability of exploitation in the near term. The CVE is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Detection plugins are available from Nessus (IDs: 364284, 364336, 367281, 367377, 367397, 367723, 371914) and Qualys (IDs: 765889, 6601011, 6601001) (Red Hat CVE, Feedly).

Etapas de exploração

  1. Reconnaissance: Identify systems running a vulnerable version of X.Org X Server (before 21.1.15/21.1.25 RPM) or XWayland (before 24.1.14) with an accessible X display socket (e.g., :0).
  2. Gain X client access: Obtain a local user session or X client authentication credentials (e.g., via .Xauthority cookie) sufficient to connect to the X server.
  3. Craft malicious CopyArea request: Construct an X protocol CopyArea request where the source pixmap has a greater height than the destination pixmap, and the source coordinates (y1, dy_src, dy_dst) are chosen so that y1 - dy_dst + dy_src exceeds the destination pixmap height.
  4. Trigger the overflow: Send the crafted request to the X server, causing glamor_upload_boxes() to write beyond the end of the tmp_bits heap buffer during the 24-to-32-bit depth conversion in the CPU-to-FBO upload path.
  5. Achieve crash or code execution: Depending on heap layout and memory state, the overflow may crash the X server (DoS) or, with further heap grooming, overwrite adjacent heap metadata to redirect execution flow and achieve arbitrary code execution in the X server context (Red Hat Bugzilla).

Indicadores de compromisso

  • Logs: X server crash logs or core dumps in /var/log/Xorg.0.log or systemd journal showing segmentation faults or heap corruption errors in the glamor or upload_boxes code path.
  • Process: Unexpected termination or restart of the Xorg or Xwayland process; unusual child processes spawned by the X server process.
  • File System: Unexpected core dump files (e.g., core.*) in the X server working directory or /tmp.
  • Network/IPC: Unusual or repeated X protocol connections from unprivileged local users to the X display socket (e.g., /tmp/.X11-unix/X0), particularly with large or malformed CopyArea requests.

Mitigação e soluções alternativas

The X.Org project has released fixed versions: X.Org X Server 21.1.15 (RPM packages: 21.1.25) and XWayland 24.1.14. The fix correctly sizes the tmp_bits buffer using byte_stride * (pixmap->drawable.height - dy_dst + dy_src) to cover the full source coordinate range. Red Hat has issued patches for RHEL 9 (RHSA-2026:85193) and RHEL 10 (RHSA-2026:85191). SUSE, openSUSE, Amazon Linux 2023/2027, FreeBSD, and OpenBSD have also released updated packages. Users should update to the patched versions immediately; no configuration-based workaround is known (Red Hat Bugzilla, Red Hat Advisory RHEL9, Red Hat Advisory RHEL10).

Reações da comunidade

The vulnerability was part of a broader X.Org security update that patched twelve CVEs simultaneously, nine of which allowed arbitrary code execution, drawing significant attention from the Linux security community (HelpNet Security, Linux Compatible). Gaming-focused Linux outlets also covered the release of X.Org Server 21.1.25 and XWayland 24.1.14 due to their relevance to desktop Linux users (Gaming on Linux). Multiple Linux distributions (Red Hat, SUSE, openSUSE, Amazon Linux, FreeBSD, OpenBSD) issued coordinated advisories, reflecting the broad impact across the ecosystem.

Recursos adicionais

Status correto da distribuição Linux

Corrija a disponibilidade entre as principais distribuições Linux e seus lançamentos.

Debian

Fixo

bookworm

xwayland

Afetado

sid

xwayland: 2:24.1.14-1

Fixo

trixie

xwayland

Afetado

Ubuntu

Desconhecido

bionic (esm-infra)

xorg

Não Afetado

devel

xorg

Não Afetado

focal (esm-infra)

xorg

Não Afetado

jammy

xorg

Não Afetado

noble

xorg

Não Afetado

resolute

xorg

Não Afetado

trusty (esm-infra-legacy)

xorg-server

Desconhecido

xenial (esm-infra-legacy)

xorg

Não Afetado

RHEL / CentOS

Fixo

RHEL 8

xorg-x11-server.src

Afetado

RHEL 9

:appstream:xorg-x11-server-Xwayland-0:24.1.9-4.el9_8.4.src

Fixo

RHEL 10

xorg-x11-server-Xwayland-0:24.1.9-4.el10_2.4.src

Fixo

Alpine

Fixo

edge

xorg-server: 21.1.25-r0, 24.1.14-r0

Fixo

Origem: Este relatório foi gerado usando IA

Relacionado Rocky Linux Vulnerabilidades:

CVE ID

Gravidade

Pontuação

Tecnologias

Nome do componente

Exploit CISA KEV

Tem correção

Data de publicação

CVE-2026-121386HIGH8.7
  • NixOS logoNixOS
  • freerdp-libs
NãoSimNov 03, 2026
CVE-2026-121404HIGH7.1
  • NixOS logoNixOS
  • freerdp
NãoSimNov 03, 2026
CVE-2026-121402HIGH7.1
  • NixOS logoNixOS
  • freerdp3
NãoSimNov 03, 2026
CVE-2026-121394HIGH7.1
  • NixOS logoNixOS
  • libwinpr-devel
NãoSimNov 03, 2026
CVE-2026-121388HIGH7.1
  • NixOS logoNixOS
  • freerdp
NãoSimNov 03, 2026

Avaliação Gratuita de Vulnerabilidades

Avalie a sua postura de segurança na nuvem

Avalie suas práticas de segurança em nuvem em 9 domínios de segurança para avaliar seu nível de risco e identificar lacunas em suas defesas.

Avaliação de solicitação

Recursos adicionais da Wiz

Marque uma demonstração personalizada

Pronto para ver a Wiz em ação?

"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
David EstlickCISO
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
Adam FletcherDiretor de Segurança
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."
Greg PoniatowskiChefe de Gerenciamento de Ameaças e Vulnerabilidades