---
id: CVE-2024-31083
title: 'Xorg-x11-server: use-after-free in procrenderaddglyphs'
summary: >-
  A use-after-free vulnerability was found in the ProcRenderAddGlyphs() function
  of Xorg servers. This issue occurs when AllocateGlyph() is called to store new
  glyphs sent by the client to the X server, potentially resulting in multiple
  en…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-416
vendor: Red Hat
product: xorg-x11-server
affected:
  - xorg-x11-server 21.1.12
  - tigervnc (all versions)
  - xorg-x11-server (all versions)
  - tigervnc (all versions)
  - tigervnc (all versions)
  - xorg-x11-server (all versions)
  - tigervnc (all versions)
  - xorg-x11-server-Xwayland (all versions)
  - tigervnc (all versions)
  - tigervnc (all versions)
  - tigervnc (all versions)
  - tigervnc (all versions)
  - tigervnc (all versions)
  - tigervnc (all versions)
  - tigervnc (all versions)
  - tigervnc (all versions)
  - tigervnc (all versions)
  - xorg-x11-server-Xwayland (all versions)
  - xorg-x11-server (all versions)
  - tigervnc (all versions)
  - tigervnc (all versions)
  - tigervnc
  - xorg-x11-server
  - xorg-x11-server-Xwayland
  - xorg-x11-server
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2024-04-05T18:36:25.769082Z'
published: '2024-04-05'
updated: '2026-11-04'
sourceUpdated: '2026-11-04T21:12:34.722Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2024-31083'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2024:1785'
    label: 'RHSA-2024:1785'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2036'
    label: 'RHSA-2024:2036'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2037'
    label: 'RHSA-2024:2037'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2038'
    label: 'RHSA-2024:2038'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2039'
    label: 'RHSA-2024:2039'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2040'
    label: 'RHSA-2024:2040'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2041'
    label: 'RHSA-2024:2041'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2042'
    label: 'RHSA-2024:2042'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2080'
    label: 'RHSA-2024:2080'
  - url: 'https://access.redhat.com/errata/RHSA-2024:2616'
    label: 'RHSA-2024:2616'
  - url: 'https://access.redhat.com/errata/RHSA-2024:3258'
    label: 'RHSA-2024:3258'
  - url: 'https://access.redhat.com/errata/RHSA-2024:3261'
    label: 'RHSA-2024:3261'
  - url: 'https://access.redhat.com/errata/RHSA-2024:3343'
    label: 'RHSA-2024:3343'
  - url: 'https://access.redhat.com/errata/RHSA-2024:9093'
    label: 'RHSA-2024:9093'
  - url: 'https://access.redhat.com/errata/RHSA-2024:9122'
    label: 'RHSA-2024:9122'
  - url: 'https://access.redhat.com/errata/RHSA-2025:12751'
    label: 'RHSA-2025:12751'
  - url: 'https://access.redhat.com/security/cve/CVE-2024-31083'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2272000'
    label: RHBZ#2272000
tags:
  - cve.org
epss: 0.01859
epssPercentile: 0.79283
ingestedAt: '2026-11-05T21:36:00.607Z'
---

## Overview

A use-after-free vulnerability was found in the ProcRenderAddGlyphs() function of Xorg servers. This issue occurs when AllocateGlyph() is called to store new glyphs sent by the client to the X server, potentially resulting in multiple entries pointing to the same non-refcounted glyphs. Consequently, ProcRenderAddGlyphs() may free a glyph, leading to a use-after-free scenario when the same glyph pointer is subsequently accessed. This flaw allows an authenticated attacker to execute arbitrary code on the system by sending a specially crafted request.

## Affected

- `xorg-x11-server 21.1.12`
- `tigervnc (all versions)`
- `xorg-x11-server (all versions)`
- `tigervnc (all versions)`
- `tigervnc (all versions)`
- `xorg-x11-server (all versions)`
- `tigervnc (all versions)`
- `xorg-x11-server-Xwayland (all versions)`
- `tigervnc (all versions)`
- `tigervnc (all versions)`
- `tigervnc (all versions)`
- `tigervnc (all versions)`
- `tigervnc (all versions)`
- `tigervnc (all versions)`
- `tigervnc (all versions)`
- `tigervnc (all versions)`
- `tigervnc (all versions)`
- `xorg-x11-server-Xwayland (all versions)`
- `xorg-x11-server (all versions)`
- `tigervnc (all versions)`
- `tigervnc (all versions)`
- `tigervnc`
- `xorg-x11-server`
- `xorg-x11-server-Xwayland`
- `xorg-x11-server`

## 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.
