---
id: CVE-2024-0408
title: 'Xorg-x11-server: selinux unlabeled glx pbuffer'
summary: >-
  A flaw was found in the X.Org server. The GLX PBuffer code does not call the
  XACE hook when creating the buffer, leaving it unlabeled. When the client
  issues another request to access that resource (as with a GetGeometry) or when
  it crea…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-158
vendor: Red Hat
product: xorg-server
affected:
  - xorg-server >= 21.1.0 < 21.1.11
  - xorg-x11-server (all versions)
  - xorg-x11-server (all versions)
  - xorg-x11-server-Xwayland (all versions)
  - xorg-x11-server (all versions)
  - xorg-x11-server-Xwayland (all versions)
  - tigervnc
  - xorg-x11-server
  - tigervnc
  - tigervnc
  - tigervnc
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-01-18T17:14:07.799441Z'
published: '2024-01-18'
updated: '2026-11-04'
sourceUpdated: '2026-11-04T21:07:38.177Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2024-0408'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2024:0320'
    label: 'RHSA-2024:0320'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2169'
    label: 'RHSA-2024:2169'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2170'
    label: 'RHSA-2024:2170'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2995'
    label: 'RHSA-2024:2995'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2996'
    label: 'RHSA-2024:2996'
  - url: 'https://access.redhat.com/security/cve/CVE-2024-0408'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2257689'
    label: RHBZ#2257689
tags:
  - cve.org
epss: 0.00321
epssPercentile: 0.25277
ingestedAt: '2026-11-05T21:36:00.596Z'
---

## Overview

A flaw was found in the X.Org server. The GLX PBuffer code does not call the XACE hook when creating the buffer, leaving it unlabeled. When the client issues another request to access that resource (as with a GetGeometry) or when it creates another resource that needs to access that buffer, such as a GC, the XSELINUX code will try to use an object that was never labeled and crash because the SID is NULL.

## Affected

- `xorg-server >= 21.1.0 < 21.1.11`
- `xorg-x11-server (all versions)`
- `xorg-x11-server (all versions)`
- `xorg-x11-server-Xwayland (all versions)`
- `xorg-x11-server (all versions)`
- `xorg-x11-server-Xwayland (all versions)`
- `tigervnc`
- `xorg-x11-server`
- `tigervnc`
- `tigervnc`
- `tigervnc`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

### Workarounds

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