Skip to main content
EPSS 0.2%top 94%

CVE-2026-50258: Stack-based Buffer Overflow in Red Hat Red Hat Enterprise Linux 10

0
High
VulnerabilityCVE-2026-50258cvecve-2026-50258gcvecwe-121
Published: 06/24/2026 (06/24/2026, 05:00:00 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Enterprise Linux 10

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 v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Red Hat

Red Hat Enterprise Linux 10

Red Hat

Red Hat Enterprise Linux 10.0 Extended Update Support

Red Hat

Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION

Red Hat

Red Hat Enterprise Linux 7 Extended Lifecycle Support

Red Hat

Red Hat Enterprise Linux 7 Extended Lifecycle Support

Red Hat

Red Hat Enterprise Linux 8

Red Hat

Red Hat Enterprise Linux 8

Red Hat

Red Hat Enterprise Linux 8

Red Hat

Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support

Red Hat

Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support

Red Hat

Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Red Hat

Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Red Hat

Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support

Red Hat

Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support

Red Hat

Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support

Red Hat

Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Red Hat

Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Red Hat

Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Red Hat

Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Red Hat

Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Red Hat

Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Red Hat

Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions

Red Hat

Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions

Red Hat

Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions

Red Hat

Red Hat Enterprise Linux 9

Red Hat

Red Hat Enterprise Linux 9

Red Hat

Red Hat Enterprise Linux 9

Red Hat

Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Red Hat

Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Red Hat

Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Red Hat

Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Red Hat

Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Red Hat

Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Red Hat

Red Hat Enterprise Linux 9.6 Extended Update Support

Red Hat

Red Hat Enterprise Linux 9.6 Extended Update Support

Red Hat

Red Hat Enterprise Linux 9.6 Extended Update Support

Red Hat

Red Hat Enterprise Linux 6

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/06/2026, 13:42:31 UTC

Technical Analysis

The vulnerability CVE-2026-50258 affects the X.Org X server and Xwayland in Red Hat Enterprise Linux 10. It is a stack-based buffer overflow caused by the CheckKeyTypes() function failing to verify or clamp non-canonical key types to the maximum allowed shift level (XkbMaxShiftLevel). This allows a client to set key types with excessive shift levels, leading to stack overflow conditions. The issue stems from an incomplete fix of CVE-2025-26597. The flaw can be exploited to crash the X server or escalate privileges if the server runs as root. Red Hat has issued security advisories (RHSA-2026:26562 and RHSA-2026:26566) that include patches for this vulnerability along with multiple other related security fixes in the xorg-x11-server and Xwayland components. The CVSS v3.1 base score is 7.8, indicating high severity, with impact on confidentiality, integrity, and availability. The affected versions include Red Hat Enterprise Linux 10 from 10.0.0 up to but not including 10.2.2.

Potential Impact

Successful exploitation of this vulnerability can cause a stack-based buffer overflow in the X.Org X server or Xwayland, potentially leading to denial of service (server crash) or privilege escalation if the X server is running with root privileges. The CVSS score of 7.8 reflects high impact on confidentiality, integrity, and availability. No known exploits in the wild have been reported at this time.

Mitigation Recommendations

Red Hat has released official security updates that fix this vulnerability in the xorg-x11-server and xorg-x11-server-Xwayland packages for Red Hat Enterprise Linux 10. Users should apply the updates as described in Red Hat advisories RHSA-2026:26562 and RHSA-2026:26566. The advisories provide detailed instructions and updated package versions. Applying these patches fully mitigates the vulnerability. No additional mitigation steps are required beyond applying the official fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2026-06-04T14:55:24.011Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-50258","vendor":"Red Hat"}]

Threat ID: 6a22b798e29bf47b506379eb

Added to database: 06/05/2026, 11:48:40 UTC

Last enriched: 08/06/2026, 13:42:31 UTC

Last updated: 09/12/2026, 22:01:34 UTC

Views: 135

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses