CVE-2024-31083
JSON

7.8high

Xorg-x11-server: use-after-free in procrenderaddglyphs

Severity
7.8high CVSS:3.1 by redhat
Exploit likelihood
0.44% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

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

Product or packageVersionsReported by
xorg-x11-server21.1.12
Not affected: from 0:1.20.4-29.el7_9 before *, from 0:1.20.11-23.el8_10 before *, from 0:1.20.11-26.el9 before *
CVE List
tigervncNot specified
Not affected: from 0:1.1.0-25.el6_10.13 before *, from 0:1.8.0-33.el7_9 before *, from 0:1.13.1-2.el8_9.10 before *, from 0:1.13.1-10.el8_10 before *, from 0:1.9.0-15.el8_2.11 before *, from 0:1.11.0-8.el8_4.10 before *
CVE List
xorg-x11-server-XwaylandNot specified
Not affected: from 0:21.1.3-16.el8_10 before *, from 0:23.2.7-1.el9 before *
CVE List

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se encontró una vulnerabilidad de use-after-free en la función ProcRenderAddGlyphs() de los servidores Xorg. Este problema ocurre cuando se llama a AllocateGlyph() para almacenar nuevos glifos enviados por el cliente al servidor X, lo que potencialmente resulta en múltiples entradas que apuntan a los mismos glifos no recontados. En consecuencia, ProcRenderAddGlyphs() puede liberar un glifo, lo que lleva a un escenario de use-after-free cuando posteriormente se accede al mismo puntero de glifo. Esta falla permite que un atacante autenticado ejecute código arbitrario en el sistema enviando una solicitud especialmente manipulada.

References

https://access.redhat.com/errata/RHSA-2024:1785vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2036vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2037vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2038vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2039vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2040vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2041vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2042vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2080vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2616vendor-advisory
https://access.redhat.com/errata/RHSA-2024:3258vendor-advisory
https://access.redhat.com/errata/RHSA-2024:3261vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2024-31083 changed 2026-11-23CVE Terms of Use
NVDCVE-2024-31083 changed 2026-11-23Public domain