CVE Vulnerabilities

CVE-2024-31083

Use After Free

Published: Apr 05, 2024 | Modified: Aug 04, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.8 IMPORTANT
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONRedHattigervnc-0:1.1.0-25.el6_10.13*
Red Hat Enterprise Linux 7RedHatxorg-x11-server-0:1.20.4-29.el7_9*
Red Hat Enterprise Linux 7RedHattigervnc-0:1.8.0-33.el7_9*
Red Hat Enterprise Linux 8RedHattigervnc-0:1.13.1-2.el8_9.10*
Red Hat Enterprise Linux 8RedHatxorg-x11-server-0:1.20.11-23.el8_10*
Red Hat Enterprise Linux 8RedHattigervnc-0:1.13.1-10.el8_10*
Red Hat Enterprise Linux 8RedHatxorg-x11-server-Xwayland-0:21.1.3-16.el8_10*
Red Hat Enterprise Linux 8.2 Advanced Update SupportRedHattigervnc-0:1.9.0-15.el8_2.11*
Red Hat Enterprise Linux 8.2 Telecommunications Update ServiceRedHattigervnc-0:1.9.0-15.el8_2.11*
Red Hat Enterprise Linux 8.2 Update Services for SAP SolutionsRedHattigervnc-0:1.9.0-15.el8_2.11*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHattigervnc-0:1.11.0-8.el8_4.10*
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRedHattigervnc-0:1.11.0-8.el8_4.10*
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRedHattigervnc-0:1.11.0-8.el8_4.10*
Red Hat Enterprise Linux 8.6 Extended Update SupportRedHattigervnc-0:1.12.0-6.el8_6.11*
Red Hat Enterprise Linux 8.8 Extended Update SupportRedHattigervnc-0:1.12.0-15.el8_8.10*
Red Hat Enterprise Linux 9RedHattigervnc-0:1.13.1-8.el9_4.3*
Red Hat Enterprise Linux 9RedHatxorg-x11-server-Xwayland-0:23.2.7-1.el9*
Red Hat Enterprise Linux 9RedHatxorg-x11-server-0:1.20.11-26.el9*
Red Hat Enterprise Linux 9.0 Extended Update SupportRedHattigervnc-0:1.11.0-22.el9_0.11*
Red Hat Enterprise Linux 9.2 Extended Update SupportRedHattigervnc-0:1.12.0-14.el9_2.8*
Xorg-serverUbuntudevel*
Xorg-serverUbuntuesm-infra-legacy/trusty*
Xorg-serverUbuntuesm-infra/bionic*
Xorg-serverUbuntuesm-infra/focal*
Xorg-serverUbuntuesm-infra/xenial*
Xorg-serverUbuntufocal*
Xorg-serverUbuntujammy*
Xorg-serverUbuntumantic*
Xorg-serverUbuntunoble*
Xorg-serverUbuntuoracular*
Xorg-serverUbuntuplucky*
Xorg-serverUbuntuquesting*
Xorg-serverUbuntutrusty/esm*
XwaylandUbuntujammy*
XwaylandUbuntumantic*

Potential Mitigations

References