---
id: CVE-2026-50262
title: >-
  An out-of-bounds read flaw was found in the X.Org X server and Xwayland in
  __glXDisp_ChangeDrawableAttributes()
summary: >-
  An out-of-bounds read flaw was found in the X.Org X server and Xwayland in
  __glXDisp_ChangeDrawableAttributes(). A wrong size validation check can read a
  client-controlled number of bytes, exceeding the request buffer, leading to
  informa…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-125
vendor: x.org
product: x_server
affected:
  - x_server < 21.1.23
  - xwayland < 24.1.12
  - enterprise_linux = 7.0
  - enterprise_linux = 8.0
  - enterprise_linux = 9.0
  - enterprise_linux = 10.0
patched:
  - x_server 21.1.23
  - xwayland 24.1.12
published: '2026-06-05'
updated: '2026-07-07'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-50262'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:26562'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:26566'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:26590'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:26610'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:26709'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:28923'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:29844'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:36086'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-50262'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2485387'
    label: secalert@redhat.com
  - url: >-
      https://gitlab.freedesktop.org/xorg/xserver/-/commit/6d459e4daf715bea8abdafa8fb130be2f8a1d145
    label: secalert@redhat.com
  - url: 'https://lists.x.org/archives/xorg-announce/2026-June/003702.html'
    label: secalert@redhat.com
  - url: 'https://redhat.atlassian.net/browse/PSIRTSUPT-16950'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00132
epssPercentile: 0.03167
ingestedAt: '2026-07-07T08:52:24.951Z'
---

## Overview

An out-of-bounds read flaw was found in the X.Org X server and Xwayland in __glXDisp_ChangeDrawableAttributes(). A wrong size validation check can read a client-controlled number of bytes, exceeding the request buffer, leading to information disclosure. A write path also exists but requires byte-swapped clients which is disabled by default.

## Affected

- `x_server < 21.1.23`
- `xwayland < 24.1.12`
- `enterprise_linux = 7.0`
- `enterprise_linux = 8.0`
- `enterprise_linux = 9.0`
- `enterprise_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `x_server 21.1.23`
- `xwayland 24.1.12`
