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
xwayland
Exploitable

Vulnerability Ratings#


7.8
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
24.1.13
Exploitable
buildroot
master
24.1.13
Exploitable
yocto
kirkstone
22.1.8
Patched
yocto
scarthgap
23.2.5
Exploitable

Resolved with patches#


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