CVE-2026-93521: 
TigerVNC Análise e mitigação de vulnerabilidades

Visão geral

CVE-2026-93521 is a heap-based buffer overflow vulnerability in the RandR (Resize and Rotate) extension of X.Org X Server and XWayland, enabling authenticated local X clients to crash the X server or execute arbitrary code within its context. It affects X.Org X Server versions before 21.1.25 and XWayland versions before 24.1.14. The vulnerability was disclosed on October 7, 2026, and carries a CVSS v3.1 base score of 7.8 (High) (Red Hat CVE, Red Hat Bugzilla).

Detalhes técnicos

The root cause lies in two bugs within the RRChangeProviderProperty() function's PropModePrepend case (CWE-787: Out-of-bounds Write; CWE-122: Heap-based Buffer Overflow). First, new_value.size is incorrectly set to len (the new data length) rather than total_len (new + existing data length), causing loss of tracking for existing property data — this also affects PropModeAppend. Second, the old_data offset is computed using prop_value->size instead of len, meaning the memory layout [new(len)][old(size)] is corrupted because old_data is placed at the wrong offset. These bugs are analogous to previously fixed issues in RRChangeOutputProperty() (commit 541ab2ecd41d). The vulnerability was discovered anonymously through Trend Micro's Zero Day Initiative (ZDI-CAN-31944) (Red Hat Bugzilla, Red Hat CVE).

Impacto

Successful exploitation allows an authenticated local X client to corrupt heap memory in the X server process, potentially enabling privilege escalation to the X server's privilege level or causing a denial of service via server crash. Since the X server often runs with elevated privileges on Linux systems, this could allow a low-privileged local user to escalate to root or a higher-privileged account. Confidentiality, integrity, and availability are all rated as High impact (Red Hat CVE, Red Hat Bugzilla).

Explorabilidade

No public proof-of-concept exploit code has been observed, and there is no evidence of in-the-wild exploitation at this time. The vulnerability requires local authenticated access to the X server, limiting the attack surface compared to remote vulnerabilities. The EPSS score is approximately 0.20%, reflecting low near-term exploitation probability. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Red Hat CVE, Feedly).

Etapas de exploração

  1. Gain local access: Obtain a local user account on a system running a vulnerable X.Org X Server (< 21.1.25) or XWayland (< 24.1.14) with an active X session.
  2. Connect as an authenticated X client: Use any standard X client library (e.g., Xlib or XCB) to connect to the running X server, as authentication is required but typically granted to local users via xauth or MIT-MAGIC-COOKIE.
  3. Identify a RandR provider with properties: Query available RandR providers using RRGetProviders and RRListProviderProperties to identify a target provider and property.
  4. Craft a malicious RRChangeProviderProperty request: Send a specially crafted RRChangeProviderProperty request using PropModePrepend or PropModeAppend mode with carefully sized data to trigger the incorrect buffer size calculation and corrupt the heap.
  5. Trigger memory corruption: The X server miscalculates the old_data offset and new_value.size, writing data to an incorrect heap location, resulting in heap corruption.
  6. Achieve code execution or crash: Depending on heap layout and exploit precision, the attacker may achieve arbitrary code execution within the X server's privilege context (potentially root) or cause a denial of service crash (Red Hat Bugzilla).

Indicadores de compromisso

  • Logs: Unexpected X server crashes or segmentation faults in system logs (e.g., /var/log/Xorg.0.log) referencing RandR or provider property operations; repeated X server restarts in a short timeframe.
  • Process: Unusual child processes spawned by the X server process (e.g., shells or network tools) indicating post-exploitation activity.
  • File System: Unexpected new files or modified binaries in system directories created around the time of X server crashes, potentially indicating post-exploitation persistence.
  • Network: Outbound connections from the X server process to unexpected external hosts, which may indicate a reverse shell or data exfiltration following successful exploitation.

Mitigação e soluções alternativas

Update X.Org X Server to version 21.1.25 or later, and XWayland to version 24.1.14 or later. The upstream fix is available via GitLab commit 5dc9efd5a199717b53f70b9c6cd336a522370e46. Red Hat has issued multiple errata addressing this issue: RHSA-2026:82015 (RHEL 9), RHSA-2026:85191 (RHEL 10), RHSA-2026:85193 (RHEL 9), RHSA-2026:86907 (RHEL 8), and RHSA-2026:89747 (RHEL 8). SUSE, openSUSE, Amazon Linux, and other distributions have also released patches. As a workaround, restrict local access to X server connections where possible and apply the principle of least privilege to limit X server process permissions (Red Hat Bugzilla, Red Hat CVE).

Reações da comunidade

The vulnerability was part of a broader batch of 12 CVEs patched in X.Org Server 21.1.25 and XWayland 24.1.14, which received coverage from security news outlets including Help Net Security and Gaming on Linux, noting the significance of the release due to multiple code execution flaws. The broader patch batch was described as addressing nine vulnerabilities allowing arbitrary code execution, drawing attention from the Linux security community (Help Net Security, Gaming on Linux).

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

:appstream:xorg-x11-server-0:1.20.11-28.el8_10.5.src

Fixo

RHEL 9

:appstream:xorg-x11-server-0:1.20.11-34.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 TigerVNC Vulnerabilidades:

CVE ID

Gravidade

Pontuação

Tecnologias

Nome do componente

Exploit CISA KEV

Tem correção

Data de publicação

CVE-2026-93523HIGH7.8
  • TigerVNC logoTigerVNC
  • xwayland
NãoSimOct 28, 2026
CVE-2026-93521HIGH7.8
  • TigerVNC logoTigerVNC
  • tigervnc-server
NãoSimOct 28, 2026
CVE-2026-93520HIGH7.8
  • TigerVNC logoTigerVNC
  • xorg-x11-server-common
NãoSimOct 28, 2026
CVE-2026-93524MEDIUM6.9
  • TigerVNC logoTigerVNC
  • xorg-x11-server-common
NãoSimOct 28, 2026
CVE-2026-93536MEDIUM5.3
  • TigerVNC logoTigerVNC
  • xorg-x11-server-Xephyr-debuginfo
NãoSimOct 28, 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