CVE-2024-31083

Publication date 4 March 2024

Last updated 24 July 2024


Ubuntu priority

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
xorg 24.10 oracular
Not affected
24.04 LTS noble
Not affected
23.10 mantic
Not affected
22.04 LTS jammy
Not affected
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
xorg-hwe-16.04 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
16.04 LTS xenial
Not affected
xorg-hwe-18.04 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic
Not affected
xorg-server 24.10 oracular
Fixed 2:21.1.12-1ubuntu1
24.04 LTS noble
Fixed 2:21.1.12-1ubuntu1
23.10 mantic
Fixed 2:21.1.7-3ubuntu2.9
22.04 LTS jammy
Fixed 2:21.1.4-2ubuntu1.7~22.04.10
20.04 LTS focal
Fixed 2:1.20.13-1ubuntu1~20.04.17
18.04 LTS bionic
16.04 LTS xenial
14.04 LTS trusty
xorg-server-hwe-16.04 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
16.04 LTS xenial
Needs evaluation
xorg-server-hwe-18.04 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic
Needs evaluation
xwayland 24.10 oracular
Not affected
24.04 LTS noble
Not affected
23.10 mantic
Fixed 2:23.2.0-1ubuntu0.6
22.04 LTS jammy
Fixed 2:22.1.1-1ubuntu0.13
20.04 LTS focal Not in release

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


mdeslaur

xorg server is actually the xorg-server package the xorg package only contains docs xwayland package contains parts of xorg-server


leosilva

introduced prior to X11R6.7


sbeattie

potential regression introduced from this fix in LP:#2060354

References

Related Ubuntu Security Notices (USN)

    • USN-6721-1
    • X.Org X Server vulnerabilities
    • 4 April 2024

Other references