Logo
vulnerabilityCVE-2024-31083
Name
CVE-2024-31083
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-
Advisories

Analysis#


Affected Component
Analysis
xserver-xorg
Patched
xwayland
Patched

Vulnerability Ratings#


7.8
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
24.1.12
Not Affected
buildroot
master
24.1.12
Not Affected
yocto
master
21.1.23
Not Affected
yocto
master
24.1.12
Not Affected
yocto
scarthgap
21.1.18
Not Affected
yocto
scarthgap
23.2.5
Not Affected

Resolved with patches#


xserver-xorg (yocto:kirkstone)

#
Title
Author
Resolve
1
render: Avoid possible double-free in ProcRenderAddGlyphs()
Olivier Fourdan <ofourdan@redhat.com>
CVE-2024-31083
2
render: fix refcounting of glyphs during ProcRenderAddGlyphs
Peter Hutterer <peter.hutterer@who-t.net>
CVE-2024-31083

xwayland (yocto:kirkstone)

#
Title
Author
Resolve
1
render: Avoid possible double-free in ProcRenderAddGlyphs()
Olivier Fourdan <ofourdan@redhat.com>
CVE-2024-31083
2
render: fix refcounting of glyphs during ProcRenderAddGlyphs
Peter Hutterer <peter.hutterer@who-t.net>
CVE-2024-31083