cve.bz

CVE-2026-50259 Stack-based Buffer Overflow

7.8 highEPSS 0.2%Fix available

High (7.8). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland. _XkbSetMapChecks() declares a fixed-size stack buffer mapWidths[256] indexed by key type index. The helper function CheckKeyTypes() writes to this buffer at a client-controlled offset, allowing a stack buffer overflow. This may be used to crash the server, or for privilege escalation if the X server runs as root.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 6th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-06-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:24.1.9-4.el10_2.2
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support: fixed in 0:24.1.5-6.el10_0.1
  • Red Hat Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION: fixed in 0:1.1.0-25.el6_10.18
  • Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support: fixed in 0:1.20.4-35.el7_9
  • Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support: fixed in 0:1.8.0-36.el7_9.5
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:21.1.3-20.el8_10.2
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:1.20.11-28.el8_10.2
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:1.15.0-10.el8_10
  • Debian, Red Hat, AlmaLinux, Rocky Linux, Azure Linux, Alpaquita: fixed package versions per release
  • Patch: https://gitlab.freedesktop.org/xorg/xserver/-/commit/867b59b33bee669cb412f1314e47c52eacf6e00b

Ask an AI about this CVE

Show the promptExplain CVE-2026-50259 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-50259?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-50259?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-50259 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:24.1.9-4.el10_2.2
Red Hat Enterprise Linux 10.0 Extended Update Support0:24.1.5-6.el10_0.1
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION0:1.1.0-25.el6_10.18
Red Hat Enterprise Linux 7 Extended Lifecycle Support0:1.20.4-35.el7_9
Red Hat Enterprise Linux 7 Extended Lifecycle Support0:1.8.0-36.el7_9.5
Red Hat Enterprise Linux 80:21.1.3-20.el8_10.2
Red Hat Enterprise Linux 80:1.20.11-28.el8_10.2
Red Hat Enterprise Linux 80:1.15.0-10.el8_10
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:1.20.10-5.el8_4
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:1.11.0-8.el8_4.16
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:1.20.10-5.el8_4
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:1.11.0-8.el8_4.16
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:1.20.11-8.el8_6
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:21.1.3-2.el8_6.7
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:1.12.0-6.el8_6.18
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On0:1.20.11-8.el8_6
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On0:21.1.3-2.el8_6.7
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On0:1.12.0-6.el8_6.18
Red Hat Enterprise Linux 8.8 Telecommunications Update Service0:1.20.11-19.el8_8
Red Hat Enterprise Linux 8.8 Telecommunications Update Service0:21.1.3-13.el8_8.1
Red Hat Enterprise Linux 8.8 Telecommunications Update Service0:1.12.0-15.el8_8.18
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:1.20.11-19.el8_8
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:21.1.3-13.el8_8.1
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:1.12.0-15.el8_8.18
Red Hat Enterprise Linux 90:24.1.9-4.el9_8.2
Red Hat Enterprise Linux 90:1.20.11-34.el9_8.2
Red Hat Enterprise Linux 90:1.15.0-7.el9_8.2
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:1.20.11-21.el9_2
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:21.1.3-10.el9_2.1
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:1.12.0-14.el9_2.15
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions0:1.20.11-29.el9_4
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions0:22.1.9-8.el9_4.1
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions0:1.13.1-8.el9_4.10
Red Hat Enterprise Linux 9.6 Extended Update Support0:1.20.11-34.el9_6
Red Hat Enterprise Linux 9.6 Extended Update Support0:23.2.7-6.el9_6.1
Red Hat Enterprise Linux 9.6 Extended Update Support0:1.14.1-11.el9_6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11xorg-server2:1.20.11-1+deb11u18DLA-4738-1
Debian12xorg-server2:21.1.7-3+deb12u13DEBIAN-CVE-2026-50259 DLA-4737-1
Debian12, 13xwaylandno fix listedDEBIAN-CVE-2026-50259
Debian13xorg-server2:21.1.16-1.3+deb13u3DEBIAN-CVE-2026-50259 DSA-6371-1
Debian14xorg-server2:21.1.23-1DEBIAN-CVE-2026-50259
Debian14xwayland2:24.1.12-1DEBIAN-CVE-2026-50259
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 morexwayland, xorg-serverno fix listedUBUNTU-CVE-2026-50259
UbuntuPro:14.04:LTS, Pro:20.04:LTSxorg-serverno fix listedUBUNTU-CVE-2026-50259
UbuntuPro:16.04:LTSxorg-server, xorg-server-hwe-16.04no fix listedUBUNTU-CVE-2026-50259
UbuntuPro:18.04:LTSxorg-server, xorg-server-hwe-18.04no fix listedUBUNTU-CVE-2026-50259
Red Hatenterprise_linux:8::appstreamtigervnc, tigervnc-icons, tigervnc-server and 9 more0:1.15.0-10.el8_10RHSA-2026:28923
Red Hatenterprise_linux:8::appstreamxorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg and 11 more0:1.20.11-28.el8_10.2RHSA-2026:26709
Red Hatenterprise_linux:8::appstreamxorg-x11-server-Xwayland, xorg-x11-server-Xwayland-debuginfo, xorg-x11-server-Xwayland-debugsource0:21.1.3-20.el8_10.2RHSA-2026:26562
Red Hatenterprise_linux:8::crbxorg-x11-server-devel, xorg-x11-server-source, xorg-x11-server-debuginfo and 6 more0:1.20.11-28.el8_10.2RHSA-2026:26709
Red Hatenterprise_linux:9::appstreamtigervnc, tigervnc-icons, tigervnc-server and 9 more0:1.15.0-7.el9_8.2RHSA-2026:29844
Red Hatenterprise_linux:9::appstreamxorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg and 11 more0:1.20.11-34.el9_8.2RHSA-2026:26610
Red Hatenterprise_linux:9::appstreamxorg-x11-server-Xwayland, xorg-x11-server-Xwayland-debuginfo, xorg-x11-server-Xwayland-debugsource0:24.1.9-4.el9_8.2RHSA-2026:26590
Red Hatenterprise_linux:9::crbxorg-x11-server-Xwayland, xorg-x11-server-Xwayland-devel, xorg-x11-server-Xwayland-debuginfo and 1 more0:24.1.9-4.el9_8.2RHSA-2026:26590
Red Hatenterprise_linux:9::crbxorg-x11-server-devel, xorg-x11-server-source, xorg-x11-server-debuginfo and 6 more0:1.20.11-34.el9_8.2RHSA-2026:26610
Red Hatenterprise_linux:10.2xorg-x11-server-Xwayland, xorg-x11-server-Xwayland-devel, xorg-x11-server-Xwayland-debuginfo and 1 more0:24.1.9-4.el10_2.2RHSA-2026:26566
Red Hatenterprise_linux_eus:10.0xorg-x11-server-Xwayland, xorg-x11-server-Xwayland-devel, xorg-x11-server-Xwayland-debuginfo and 1 more0:24.1.5-6.el10_0.1RHSA-2026:36798
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamtigervnc, tigervnc-icons, tigervnc-server and 9 more0:1.11.0-8.el8_4.16RHSA-2026:46382
21 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8tigervnc, tigervnc-icons, tigervnc-server and 4 more1.15.0-10.el8_10ALSA-2026:28923
AlmaLinux8xorg-x11-server-Xdmx, xorg-x11-server-Xorg, xorg-x11-server-Xvfb and 5 more1.20.11-28.el8_10.2ALSA-2026:26709
AlmaLinux8xorg-x11-server-Xwayland21.1.3-20.el8_10.2ALSA-2026:26562
AlmaLinux9tigervnc, tigervnc-icons, tigervnc-server and 4 more1.15.0-7.el9_8.2ALSA-2026:29844
AlmaLinux9xorg-x11-server-Xdmx, xorg-x11-server-Xorg, xorg-x11-server-Xvfb and 5 more1.20.11-34.el9_8.2ALSA-2026:26610
AlmaLinux9xorg-x11-server-Xwayland, xorg-x11-server-Xwayland-devel24.1.9-4.el9_8.2ALSA-2026:26590
AlmaLinux10xorg-x11-server-Xwayland, xorg-x11-server-Xwayland-devel24.1.9-4.el10_2.2ALSA-2026:26566
Rocky Linux8tigervnc0:1.15.0-10.el8_10RLSA-2026:28923
Rocky Linux8xorg-x11-server0:1.20.11-28.el8_10.2RLSA-2026:26709
Rocky Linux8xorg-x11-server-Xwayland0:21.1.3-20.el8_10.2RLSA-2026:26562
Rocky Linux9tigervnc0:1.15.0-7.el9_8.2RLSA-2026:29844
Rocky Linux9xorg-x11-server0:1.20.11-34.el9_8.2RLSA-2026:26610
Rocky Linux9xorg-x11-server-Xwayland0:24.1.9-4.el9_8.2RLSA-2026:26590
Rocky Linux10xorg-x11-server-Xwayland0:24.1.9-4.el10_2.2RLSA-2026:26566
Azure Linux3xorg-x11-serverno fix listedAZL-89546
Azure Linux3xorg-x11-server-Xwayland24.1.12-1AZL-89580
Alpaquita23, 25, streamxorg-server21.1.23-r0BELL-CVE-2026-50259

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat rates this issue as Important impact. In xorg-x11-server and xorg-x11-server-Xwayland, _XkbSetMapChecks() uses a fixed 256-element stack buffer mapWidths[] indexed by a client-controlled key type index. CheckKeyTypes() writes beyond the buffer boundary, causing a stack buffer overflow. Any local user who can connect to the X server display can attempt exploitation. Upstream fixed this in xorg-server 21.1.23 and xwayland 24.1.12.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10xorg-x11-server-Xwayland-0:24.1.9-4.el10_2.2Fixed 2026-06-22RHSA-2026:26566
Red Hat Enterprise Linux 10.0 Extended Update Supportxorg-x11-server-Xwayland-0:24.1.5-6.el10_0.1Fixed 2026-07-08RHSA-2026:36798
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONtigervnc-0:1.1.0-25.el6_10.18Fixed 2026-08-03RHSA-2026:49519
Red Hat Enterprise Linux 7 Extended Lifecycle Supportxorg-x11-server-0:1.20.4-35.el7_9Fixed 2026-07-07RHSA-2026:36083
Red Hat Enterprise Linux 7 Extended Lifecycle Supporttigervnc-0:1.8.0-36.el7_9.5Fixed 2026-07-27RHSA-2026:46473
Red Hat Enterprise Linux 8xorg-x11-server-Xwayland-0:21.1.3-20.el8_10.2Fixed 2026-06-17RHSA-2026:26562
Red Hat Enterprise Linux 8xorg-x11-server-0:1.20.11-28.el8_10.2Fixed 2026-06-17RHSA-2026:26709
Red Hat Enterprise Linux 8tigervnc-0:1.15.0-10.el8_10Fixed 2026-06-24RHSA-2026:28923
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportxorg-x11-server-0:1.20.10-5.el8_4Fixed 2026-07-08RHSA-2026:36792
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supporttigervnc-0:1.11.0-8.el8_4.16Fixed 2026-07-27RHSA-2026:46382
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onxorg-x11-server-0:1.20.10-5.el8_4Fixed 2026-07-08RHSA-2026:36792
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Ontigervnc-0:1.11.0-8.el8_4.16Fixed 2026-07-27RHSA-2026:46382
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportxorg-x11-server-0:1.20.11-8.el8_6Fixed 2026-07-08RHSA-2026:36791
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportxorg-x11-server-Xwayland-0:21.1.3-2.el8_6.7Fixed 2026-07-13RHSA-2026:38810
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supporttigervnc-0:1.12.0-6.el8_6.18Fixed 2026-07-27RHSA-2026:46460
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onxorg-x11-server-0:1.20.11-8.el8_6Fixed 2026-07-08RHSA-2026:36791
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onxorg-x11-server-Xwayland-0:21.1.3-2.el8_6.7Fixed 2026-07-13RHSA-2026:38810
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Ontigervnc-0:1.12.0-6.el8_6.18Fixed 2026-07-27RHSA-2026:46460
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicexorg-x11-server-0:1.20.11-19.el8_8Fixed 2026-07-08RHSA-2026:36768
Red Hat Enterprise Linux 6xorg-x11-serverOut of support scope
17 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-50259.

References

Check your stackJSON