7.8

CVE-2026-50258: Xorg-x11-server: xorg-x11-server-xwayland: xorg-x11-server: stack buffer overflow in xkb key types due to unchecked shift levels

Modified
AliasesUBUNTU-CVE-2026-50258DEBIAN-CVE-2026-50258
Published 05-06-2026Last modified 26-11-2026

Vulnerability summary

CVE-2026-50258 is a high (CVSS 7.8) Stack-based Buffer Overflow vulnerability in redhat enterprise_linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.16%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 31

Timeline

  1. 05-06-2026
    PublishedVulnerability first disclosed.
  2. 26-11-2026
    Last modifiedVulnerability information updated.

Description

A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland. The X server has multiple stack buffers sized XkbMaxShiftLevel * XkbNumKbdGroups but CheckKeyTypes() does not verify or clamp non-canonical key types to XkbMaxShiftLevel. A client can change key types to excessive shift levels and trigger stack overflows. This is caused by an incomplete fix of CVE-2025-26597. This may be used to crash the server, or for privilege escalation if the X server runs as root.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.16%

Chance of exploitation in the next 30 days

Percentile

6%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.16% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu4 products
  • xorg-serverAll versions (No fix recorded)
  • xorg-server-hwe-16.04All versions (No fix recorded)
  • xorg-server-hwe-18.04All versions (No fix recorded)
  • xwaylandAll versions (No fix recorded)
Debian2 products
  • xorg-server< 2:21.1.7-3+deb12u13 | < 2:21.1.16-1.3+deb13u3 | < 2:21.1.23-1
  • xwaylandAll versions (No fix recorded) | < 2:24.1.12-1
X.org2 products
Redhat1 product

4 vendors · 9 products

References

39 links
Show all 39 references