Vulnerability · Published Apr 5, 2024 · Assigned by redhat

CVE-2024-31083Xorg-x11-server: use-after-free in procrenderaddglyphs

High 7.8

In plain English

A high-severity use-after-free in xorg-x11-server. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)1.9%top 20.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8tigervnc1.13.1-2.el8_9.10.alma.1ALSA-2024:2037
AlmaLinux:8tigervnc1.13.1-10.el8_10ALSA-2024:3261
AlmaLinux:9tigervnc1.13.1-8.el9_4.3ALSA-2024:2616
AlmaLinux:8tigervnc-icons1.13.1-10.el8_10ALSA-2024:3261
AlmaLinux:8tigervnc-icons1.13.1-2.el8_9.10.alma.1ALSA-2024:2037
AlmaLinux:9tigervnc-icons1.13.1-8.el9_4.3ALSA-2024:2616
AlmaLinux:8tigervnc-license1.13.1-10.el8_10ALSA-2024:3261
AlmaLinux:8tigervnc-license1.13.1-2.el8_9.10.alma.1ALSA-2024:2037
AlmaLinux:9tigervnc-license1.13.1-8.el9_4.3ALSA-2024:2616
AlmaLinux:8tigervnc-selinux1.13.1-2.el8_9.10.alma.1ALSA-2024:2037
AlmaLinux:8tigervnc-selinux1.13.1-10.el8_10ALSA-2024:3261
AlmaLinux:9tigervnc-selinux1.13.1-8.el9_4.3ALSA-2024:2616
AlmaLinux:8tigervnc-server1.13.1-10.el8_10ALSA-2024:3261
AlmaLinux:8tigervnc-server1.13.1-2.el8_9.10.alma.1ALSA-2024:2037
AlmaLinux:9tigervnc-server1.13.1-8.el9_4.3ALSA-2024:2616
AlmaLinux:8tigervnc-server-minimal1.13.1-10.el8_10ALSA-2024:3261
AlmaLinux:8tigervnc-server-minimal1.13.1-2.el8_9.10.alma.1ALSA-2024:2037
AlmaLinux:9tigervnc-server-minimal1.13.1-8.el9_4.3ALSA-2024:2616
AlmaLinux:8tigervnc-server-module1.13.1-10.el8_10ALSA-2024:3261
AlmaLinux:8tigervnc-server-module1.13.1-2.el8_9.10.alma.1ALSA-2024:2037
AlmaLinux:9tigervnc-server-module1.13.1-8.el9_4.3ALSA-2024:2616
AlmaLinux:8xorg-x11-server-Xdmx1.20.11-23.el8_10ALSA-2024:3258
AlmaLinux:9xorg-x11-server-Xdmx1.20.11-26.el9ALSA-2024:9122
AlmaLinux:8xorg-x11-server-Xephyr1.20.11-23.el8_10ALSA-2024:3258
AlmaLinux:9xorg-x11-server-Xephyr1.20.11-26.el9ALSA-2024:9122
AlmaLinux:8xorg-x11-server-Xnest1.20.11-23.el8_10ALSA-2024:3258
AlmaLinux:9xorg-x11-server-Xnest1.20.11-26.el9ALSA-2024:9122
AlmaLinux:8xorg-x11-server-Xorg1.20.11-23.el8_10ALSA-2024:3258
AlmaLinux:9xorg-x11-server-Xorg1.20.11-26.el9ALSA-2024:9122
AlmaLinux:8xorg-x11-server-Xvfb1.20.11-23.el8_10ALSA-2024:3258
AlmaLinux:9xorg-x11-server-Xvfb1.20.11-26.el9ALSA-2024:9122
AlmaLinux:8xorg-x11-server-Xwayland21.1.3-16.el8_10ALSA-2024:3343
AlmaLinux:9xorg-x11-server-Xwayland23.2.7-1.el9ALSA-2024:9093
AlmaLinux:9xorg-x11-server-Xwayland-devel23.2.7-1.el9ALSA-2024:9093
AlmaLinux:8xorg-x11-server-common1.20.11-23.el8_10ALSA-2024:3258
AlmaLinux:9xorg-x11-server-common1.20.11-26.el9ALSA-2024:9122
AlmaLinux:8xorg-x11-server-devel1.20.11-23.el8_10ALSA-2024:3258
AlmaLinux:9xorg-x11-server-devel1.20.11-26.el9ALSA-2024:9122
AlmaLinux:8xorg-x11-server-source1.20.11-23.el8_10ALSA-2024:3258
AlmaLinux:9xorg-x11-server-source1.20.11-26.el9ALSA-2024:9122
Alpine:v3.20xorg-server21.1.12-r0ALPINE-CVE-2024-31083
Alpine:v3.21xorg-server21.1.12-r0ALPINE-CVE-2024-31083
Alpine:v3.22xorg-server21.1.12-r0ALPINE-CVE-2024-31083
Alpine:v3.23xorg-server21.1.12-r0ALPINE-CVE-2024-31083
Alpine:v3.24xorg-server21.1.12-r0ALPINE-CVE-2024-31083
Alpine:v3.20xwayland23.2.5-r0ALPINE-CVE-2024-31083
Alpine:v3.21xwayland23.2.5-r0ALPINE-CVE-2024-31083
Alpine:v3.22xwayland23.2.5-r0ALPINE-CVE-2024-31083
Alpine:v3.23xwayland23.2.5-r0ALPINE-CVE-2024-31083
Alpine:v3.24xwayland23.2.5-r0ALPINE-CVE-2024-31083
Debian:12xorg-server2:21.1.7-3+deb12u7DEBIAN-CVE-2024-31083
Debian:12xorg-server2:21.1.7-3+deb12u7DSA-5657-1
Debian:13xorg-server2:21.1.11-3DEBIAN-CVE-2024-31083
Debian:14xorg-server2:21.1.11-3DEBIAN-CVE-2024-31083
Debian:12xwaylandno fix listedDEBIAN-CVE-2024-31083
Debian:13xwayland2:23.2.6-1DEBIAN-CVE-2024-31083
Debian:14xwayland2:23.2.6-1DEBIAN-CVE-2024-31083
Rocky Linux:8tigervnc0:1.13.1-10.el8_10RLSA-2024:3261
Rocky Linux:8tigervnc0:1.13.1-2.el8_9.10RLSA-2024:2037
Rocky Linux:8xorg-x11-server0:1.20.11-23.el8_10RLSA-2024:3258
Rocky Linux:9xorg-x11-server0:1.20.11-26.el9RLSA-2024:9122
Rocky Linux:8xorg-x11-server-Xwayland0:21.1.3-16.el8_10RLSA-2024:3343
Rocky Linux:9xorg-x11-server-Xwayland0:23.2.7-1.el9RLSA-2024:9093
Ubuntu:22.04:LTSxorg-server2:21.1.4-2ubuntu1.7~22.04.10UBUNTU-CVE-2024-31083
Ubuntu:22.04:LTSxorg-server2:21.1.4-2ubuntu1.7~22.04.9USN-6721-1
Ubuntu:24.04:LTSxorg-server2:21.1.12-1ubuntu1UBUNTU-CVE-2024-31083
Ubuntu:22.04:LTSxwayland2:22.1.1-1ubuntu0.13UBUNTU-CVE-2024-31083
Ubuntu:22.04:LTSxwayland2:22.1.1-1ubuntu0.12USN-6721-1

Affected products (as reported)

VendorProductVersions
xorg-x11-server 21.1.12
Red Hat Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support see references
Red Hat Red Hat Enterprise Linux 8.2 Telecommunications Update Service see references
Red Hat Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support see references
Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service see references
Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support see references
Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support see references
Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support see references
Red Hat Red Hat Enterprise Linux 10 see references
Red Hat Red Hat Enterprise Linux 10 see references
Red Hat Red Hat Enterprise Linux 10 see references
Red Hat Red Hat Enterprise Linux 6 see references

Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References