CVE-2026-50258
NixOS Analyse et atténuation des vulnérabilités

Aperçu

CVE-2026-50258 is a stack-based buffer overflow vulnerability in the X.Org X server and Xwayland, caused by an incomplete fix of CVE-2025-26597. The CheckKeyTypes() function fails to verify or clamp non-canonical key types to XkbMaxShiftLevel, allowing a local client to set excessive shift levels and trigger stack overflows. Affected versions include xorg-x11-server up to and including 21.1.22 and xorg-x11-server-Xwayland up to and including 24.1.9. It was published on June 5, 2026, and carries a CVSS v3.1 base score of 7.8 (High) (GitHub Advisory, Red Hat Bugzilla).

Détails techniques

The root cause is classified as CWE-121 (Stack-based Buffer Overflow). The X server allocates multiple stack buffers sized XkbMaxShiftLevel * XkbNumKbdGroups, but CheckKeyTypes() does not enforce an upper bound on shift levels for non-canonical key types. Any authenticated local X client can send a crafted request to change key types to shift levels exceeding XkbMaxShiftLevel, triggering up to three separate stack buffer overflows. This vulnerability is a bypass of the prior fix for CVE-2025-26597 and was reported via ZDI-CAN-30160 through the Trend Micro Zero Day Initiative (Red Hat Bugzilla, GitHub Advisory).

Impact

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 traditional Linux setups), full privilege escalation to root-level code execution. The vulnerability affects confidentiality, integrity, and availability at a HIGH level. Any local user with the ability to connect to the X server — a broad set of users on multi-user systems — can trigger this condition (Red Hat Bugzilla, GitHub Advisory).

Atténuation et solutions de contournement

The upstream fixes are available in xorg-server 21.1.23 and xwayland 24.1.12; users should upgrade to these versions or later (Red Hat Bugzilla). The specific upstream patch is available at the freedesktop.org GitLab repository (GitLab Commit). As interim mitigations: restrict X server access to trusted local users only, and configure the X server to run without root privileges where possible to limit the impact of exploitation.

Réactions de la communauté

The vulnerability was noted in Rapid7's June 2026 Patch Tuesday roundup, indicating it received attention from the broader security community as part of that month's patching cycle (Rapid7 Blog). It also appeared in CVEWatch community discussions on Reddit and was mentioned on Mastodon by security researchers, reflecting moderate community interest given its local-only attack vector and the context of being an incomplete fix for a prior CVE.

Ressources additionnelles


SourceCe rapport a été généré à l’aide de l’IA

Apparenté NixOS Vulnérabilités:

Identifiant CVE

Sévérité

Score

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

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

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité dans le cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité pour évaluer votre niveau de risque et identifier les failles dans vos défenses.

Demander une évaluation

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités