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 package | Versions | Reported by |
|---|---|---|
| xorg-x11-server | 21.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 |
| tigervnc | Not 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-Xwayland | Not specified Not affected: from 0:21.1.3-16.el8_10 before *, from 0:23.2.7-1.el9 before * | CVE List |
Classification
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-31083 changed 2026-11-23 | CVE Terms of Use |
| NVD | CVE-2024-31083 changed 2026-11-23 | Public domain |