CVE-2024-31083
TigerVNC vulnerability analysis and mitigation

Overview

A use-after-free vulnerability (CVE-2024-31083) was discovered in the ProcRenderAddGlyphs() function of Xorg servers. The vulnerability was introduced prior to X11R6.7 (2004) and affects Xorg servers and Xwayland implementations. The issue was fixed in xorg-server 21.1.12 and xwayland 23.2.5 (X.Org Advisory).

Technical details

The vulnerability occurs when AllocateGlyph() is called to store new glyphs sent by the client to the X server. AllocateGlyph() returns a new glyph with refcount=0 and a re-used glyph would not change the refcount. This results in multiple entries in the glyph_new array pointing to the same non-refcounted glyphs. When ProcRenderAddGlyphs() frees a glyph, it leads to a use-after-free condition when the same glyph pointer is subsequently accessed. The vulnerability has a CVSS v3.1 base score of 7.8 HIGH (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) (Red Hat CVE).

Impact

This vulnerability allows an authenticated attacker to execute arbitrary code on the system by sending a specially crafted request (NVD).

Exploitability

The vulnerability requires local access and can be exploited by an authenticated attacker. The attack complexity is low, requiring no user interaction to exploit (Red Hat CVE).

Mitigation and workarounds

The vulnerability has been patched in xorg-server version 21.1.12 and xwayland version 23.2.5. A regression was later discovered in the initial fix and was addressed in xorg-server-21.1.13 and xwayland-23.2.6 (OSS Security). For Xwayland versions 23.1 and later, byte-swapping support is disabled by default, which provides protection against this issue unless the Xwayland server is started with the +byteswappedclients option.

Additional resources


SourceThis report was generated using AI

Related TigerVNC vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-50264HIGH7.8
  • NixOS logoNixOS
  • tigervnc
NoYesJun 05, 2026
CVE-2026-50261HIGH7.8
  • NixOS logoNixOS
  • tigervnc-server-module
NoYesJun 05, 2026
CVE-2026-50260HIGH7.8
  • NixOS logoNixOS
  • xorg-x11-server-Xdmx
NoYesJun 05, 2026
CVE-2026-50263MEDIUM5.5
  • NixOS logoNixOS
  • xorg-x11-server-Xwayland-devel
NoYesJun 05, 2026
CVE-2026-50262MEDIUM5.5
  • NixOS logoNixOS
  • tigervnc
NoYesJun 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management