CVE-2026-50259
NixOS Analisi e mitigazione delle vulnerabilità

Panoramica

CVE-2026-50259 is a stack-based buffer overflow vulnerability in the X.Org X server and Xwayland, affecting the _XkbSetMapChecks() function via client-controlled indexing of a fixed-size stack buffer. It was reported on June 5, 2026, via the Trend Micro Zero Day Initiative (ZDI-CAN-30161) and publicly disclosed the same day. Affected versions include xorg-x11-server ≤ 21.1.22 and xorg-x11-server-Xwayland ≤ 24.1.9, with fixes available in xorg-server 21.1.23 and xwayland 24.1.12. Red Hat Enterprise Linux versions 7, 8, 9, and 10 are also listed as affected platforms. The vulnerability carries a CVSS v3.1 base score of 7.8 (High) (GitHub Advisory, Red Hat Bugzilla).

Dettagli tecnici

The root cause is a stack-based buffer overflow (CWE-121) in the _XkbSetMapChecks() function within the X.Org X server's XKB (X Keyboard Extension) SetMap request handler. The function declares a fixed-size stack buffer mapWidths[256], indexed by key type index. The helper function CheckKeyTypes() writes to this buffer using a client-controlled offset without adequate bounds checking, allowing any connected X client to write beyond the buffer's boundaries. The attack vector is local (AV:L), requires low privileges (PR:L), and no user interaction, making it straightforward for any authenticated local user or X client with server access to trigger (Red Hat Bugzilla, GitHub Advisory). The upstream fix is available as commit 867b59b33bee669cb412f1314e47c52eacf6e00b in the xorg/xserver GitLab repository (GitLab Commit).

Impatto

Successful exploitation can result in a denial of service (server crash) or, if the X server is running as root (a common configuration on older or embedded Linux systems), full privilege escalation to root. The vulnerability affects confidentiality, integrity, and availability at a high level, potentially allowing an attacker to execute arbitrary code in the context of the X server process. On systems where the X server runs with elevated privileges, this could lead to complete system compromise, including access to sensitive data and persistent backdoor installation (Red Hat Bugzilla, GitHub Advisory).

Mitigazione e soluzioni alternative

Upgrade to the fixed upstream versions: xorg-server 21.1.23 or xwayland 24.1.12, which contain the patch in commit 867b59b33bee669cb412f1314e47c52eacf6e00b (GitLab Commit, Red Hat Bugzilla). As a workaround, avoid running the X server as root where possible, and restrict X client connections to trusted users only (e.g., using xhost restrictions or socket permissions). Red Hat Enterprise Linux users should monitor Red Hat advisories for distribution-specific package updates (Red Hat CVE).

Reazioni della comunità

The vulnerability was covered in Rapid7's June 2026 Patch Tuesday blog post, indicating it was considered notable among security practitioners during that patch cycle (Rapid7 Blog). It appeared in the CVEWatch Reddit community's top trending CVEs for both June 7 and June 8, 2026, reflecting community interest. Social media mentions were observed on Bluesky and Mastodon, though no significant researcher commentary or vendor statements beyond the standard advisory have been identified.

Risorse aggiuntive


FonteQuesto report è stato generato utilizzando l'intelligenza artificiale

Imparentato NixOS Vulnerabilità:

CVE ID

Severità

Punteggio

Tecnologie

Nome del componente

Exploit CISA KEV

Ha la correzione

Data di pubblicazione

CVE-2026-9698CRITICAL9.8
  • NixOSNixOS
  • perl-DBI
NoJun 09, 2026
CVE-2026-50259HIGH7.8
  • NixOSNixOS
  • xorg-x11-server-Xwayland
NoJun 05, 2026
CVE-2026-50258HIGH7.8
  • NixOSNixOS
  • tigervnc
NoJun 05, 2026
CVE-2026-50257HIGH7.8
  • NixOSNixOS
  • xorg-server
NoJun 05, 2026
CVE-2026-48507HIGH7.1
  • NixOSNixOS
  • snipe-it
NoJun 08, 2026

Valutazione gratuita delle vulnerabilità

Benchmark della tua posizione di sicurezza del cloud

Valuta le tue pratiche di sicurezza cloud in 9 domini di sicurezza per confrontare il tuo livello di rischio e identificare le lacune nelle tue difese.

Richiedi valutazione

Richiedi una demo personalizzata

Pronti a vedere Wiz in azione?

"La migliore esperienza utente che abbia mai visto offre piena visibilità ai carichi di lavoro cloud."
David EstlickCISO (CISO)
"Wiz fornisce un unico pannello di controllo per vedere cosa sta succedendo nei nostri ambienti cloud."
Adam FletcherResponsabile della sicurezza
"Sappiamo che se Wiz identifica qualcosa come critico, in realtà lo è."
Greg PoniatowskiResponsabile della gestione delle minacce e delle vulnerabilità