CVE-2024-31082

xnest: A heap-based buffer over-read vulnerability was found in the X.org server'sProcAppleDRICreatePixmap() function

CVE-2024-31082 is fixed in 13 products on 1 platform, first by xdmx 2:1.19.6-1ubuntu4.15+esm7, released March 3, 2024. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.3
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0034
27th percentile

A heap-based buffer over-read vulnerability was found in the X.org server'sProcAppleDRICreatePixmap() function. This issue occurs when byte-swappedlength values are used in replies, potentially leading to memory leakageand segmentation faults, particularly when triggered by a client with adifferent endianness. This vulnerability could be exploited by an attackerto cause the X server to read heap memory values and then transmit themback to the client until encountering an unmapped page, resulting in acrash. Despite the attacker's inability to control the specific memorycopied into the replies, the small length values typically stored in a32-bit integer can result in significant attempted out-of-bounds reads.

Where it's fixed

ProductFixed inFixReleased
Linux
xdmx · Ubuntu 18.04.6 LTS (bionic) 2:1.19.6-1ubuntu4.15+esm7 xdmx 2:1.19.6-1ubuntu4.15+esm7 Mar 3, 2024
xdmx · Ubuntu 20.04 LTS (focal) 2:1.20.13-1ubuntu1~20.04.16 xdmx 2:1.20.13-1ubuntu1~20.04.16 Mar 3, 2024
xdmx-tools · Ubuntu 18.04.6 LTS (bionic) 2:1.19.6-1ubuntu4.15+esm7 xdmx-tools 2:1.19.6-1ubuntu4.15+esm7 Mar 3, 2024
xdmx-tools · Ubuntu 20.04 LTS (focal) 2:1.20.13-1ubuntu1~20.04.16 xdmx-tools 2:1.20.13-1ubuntu1~20.04.16 Mar 3, 2024
xmir · Ubuntu 18.04.6 LTS (bionic) 2:1.19.6-1ubuntu4.15+esm7 xmir 2:1.19.6-1ubuntu4.15+esm7 Mar 3, 2024
xnest · Ubuntu 18.04.6 LTS (bionic) 2:1.19.6-1ubuntu4.15+esm7 xnest 2:1.19.6-1ubuntu4.15+esm7 Mar 3, 2024
xnest · Ubuntu 20.04 LTS (focal) 2:1.20.13-1ubuntu1~20.04.16 xnest 2:1.20.13-1ubuntu1~20.04.16 Mar 3, 2024
xnest · Ubuntu 22.04.1 LTS (jammy) 2:21.1.4-2ubuntu1.7~22.04.9 xnest 2:21.1.4-2ubuntu1.7~22.04.9 Mar 3, 2024
xnest · Ubuntu 24.04.5 LTS (noble) 2:21.1.12-1ubuntu1 xnest 2:21.1.12-1ubuntu1 Mar 3, 2024
xnest · Ubuntu 24.10 (oracular) 2:21.1.12-1ubuntu1 xnest 2:21.1.12-1ubuntu1 Jan 16, 2026
xnest · Ubuntu 25.04 (plucky) 2:21.1.12-1ubuntu1 xnest 2:21.1.12-1ubuntu1 Jan 16, 2026
xorg-server · Debian 12.15 (bookworm) 2:21.1.7-3+deb12u7 DEBIAN-CVE-2024-31082 Apr 4, 2024
xorg-server · Debian 13.5 (trixie) 2:21.1.11-3 DEBIAN-CVE-2024-31082 Apr 4, 2024
xorg-server · Debian 14 2:21.1.11-3 DEBIAN-CVE-2024-31082 Apr 4, 2024
xorg-server-source · Ubuntu 18.04.6 LTS (bionic) 2:1.19.6-1ubuntu4.15+esm7 xorg-server-source 2:1.19.6-1ubuntu4.15+esm7 Mar 3, 2024
xorg-server-source · Ubuntu 20.04 LTS (focal) 2:1.20.13-1ubuntu1~20.04.16 xorg-server-source 2:1.20.13-1ubuntu1~20.04.16 Mar 3, 2024
xorg-server-source · Ubuntu 22.04.1 LTS (jammy) 2:21.1.4-2ubuntu1.7~22.04.9 xorg-server-source 2:21.1.4-2ubuntu1.7~22.04.9 Mar 3, 2024
xorg-server-source · Ubuntu 24.04.5 LTS (noble) 2:21.1.12-1ubuntu1 xorg-server-source 2:21.1.12-1ubuntu1 Mar 3, 2024
xorg-server-source · Ubuntu 24.10 (oracular) 2:21.1.12-1ubuntu1 xorg-server-source 2:21.1.12-1ubuntu1 Jan 16, 2026
xorg-server-source · Ubuntu 25.04 (plucky) 2:21.1.12-1ubuntu1 xorg-server-source 2:21.1.12-1ubuntu1 Jan 16, 2026
xserver-common · Ubuntu 18.04.6 LTS (bionic) 2:1.19.6-1ubuntu4.15+esm7 xserver-common 2:1.19.6-1ubuntu4.15+esm7 Mar 3, 2024
xserver-common · Ubuntu 20.04 LTS (focal) 2:1.20.13-1ubuntu1~20.04.16 xserver-common 2:1.20.13-1ubuntu1~20.04.16 Mar 3, 2024
xserver-common · Ubuntu 22.04.1 LTS (jammy) 2:21.1.4-2ubuntu1.7~22.04.9 xserver-common 2:21.1.4-2ubuntu1.7~22.04.9 Mar 3, 2024
xserver-common · Ubuntu 24.04.5 LTS (noble) 2:21.1.12-1ubuntu1 xserver-common 2:21.1.12-1ubuntu1 Mar 3, 2024
xserver-common · Ubuntu 24.10 (oracular) 2:21.1.12-1ubuntu1 xserver-common 2:21.1.12-1ubuntu1 Jan 16, 2026
xserver-common · Ubuntu 25.04 (plucky) 2:21.1.12-1ubuntu1 xserver-common 2:21.1.12-1ubuntu1 Jan 16, 2026
xserver-xephyr · Ubuntu 18.04.6 LTS (bionic) 2:1.19.6-1ubuntu4.15+esm7 xserver-xephyr 2:1.19.6-1ubuntu4.15+esm7 Mar 3, 2024
xserver-xephyr · Ubuntu 20.04 LTS (focal) 2:1.20.13-1ubuntu1~20.04.16 xserver-xephyr 2:1.20.13-1ubuntu1~20.04.16 Mar 3, 2024
xserver-xephyr · Ubuntu 22.04.1 LTS (jammy) 2:21.1.4-2ubuntu1.7~22.04.9 xserver-xephyr 2:21.1.4-2ubuntu1.7~22.04.9 Mar 3, 2024
xserver-xephyr · Ubuntu 24.04.5 LTS (noble) 2:21.1.12-1ubuntu1 xserver-xephyr 2:21.1.12-1ubuntu1 Mar 3, 2024
xserver-xephyr · Ubuntu 24.10 (oracular) 2:21.1.12-1ubuntu1 xserver-xephyr 2:21.1.12-1ubuntu1 Jan 16, 2026
xserver-xephyr · Ubuntu 25.04 (plucky) 2:21.1.12-1ubuntu1 xserver-xephyr 2:21.1.12-1ubuntu1 Jan 16, 2026
xserver-xorg-core · Ubuntu 18.04.6 LTS (bionic) 2:1.19.6-1ubuntu4.15+esm7 xserver-xorg-core 2:1.19.6-1ubuntu4.15+esm7 Mar 3, 2024
xserver-xorg-core · Ubuntu 20.04 LTS (focal) 2:1.20.13-1ubuntu1~20.04.16 xserver-xorg-core 2:1.20.13-1ubuntu1~20.04.16 Mar 3, 2024
xserver-xorg-core · Ubuntu 22.04.1 LTS (jammy) 2:21.1.4-2ubuntu1.7~22.04.9 xserver-xorg-core 2:21.1.4-2ubuntu1.7~22.04.9 Mar 3, 2024
xserver-xorg-core · Ubuntu 24.04.5 LTS (noble) 2:21.1.12-1ubuntu1 xserver-xorg-core 2:21.1.12-1ubuntu1 Mar 3, 2024
xserver-xorg-core · Ubuntu 24.10 (oracular) 2:21.1.12-1ubuntu1 xserver-xorg-core 2:21.1.12-1ubuntu1 Jan 16, 2026
xserver-xorg-core · Ubuntu 25.04 (plucky) 2:21.1.12-1ubuntu1 xserver-xorg-core 2:21.1.12-1ubuntu1 Jan 16, 2026
xserver-xorg-legacy · Ubuntu 18.04.6 LTS (bionic) 2:1.19.6-1ubuntu4.15+esm7 xserver-xorg-legacy 2:1.19.6-1ubuntu4.15+esm7 Mar 3, 2024
xserver-xorg-legacy · Ubuntu 20.04 LTS (focal) 2:1.20.13-1ubuntu1~20.04.16 xserver-xorg-legacy 2:1.20.13-1ubuntu1~20.04.16 Mar 3, 2024
xserver-xorg-legacy · Ubuntu 22.04.1 LTS (jammy) 2:21.1.4-2ubuntu1.7~22.04.9 xserver-xorg-legacy 2:21.1.4-2ubuntu1.7~22.04.9 Mar 3, 2024
xserver-xorg-legacy · Ubuntu 24.04.5 LTS (noble) 2:21.1.12-1ubuntu1 xserver-xorg-legacy 2:21.1.12-1ubuntu1 Mar 3, 2024
xserver-xorg-legacy · Ubuntu 24.10 (oracular) 2:21.1.12-1ubuntu1 xserver-xorg-legacy 2:21.1.12-1ubuntu1 Jan 16, 2026
xserver-xorg-legacy · Ubuntu 25.04 (plucky) 2:21.1.12-1ubuntu1 xserver-xorg-legacy 2:21.1.12-1ubuntu1 Jan 16, 2026
xserver-xorg-xmir · Ubuntu 18.04.6 LTS (bionic) 2:1.19.6-1ubuntu4.15+esm7 xserver-xorg-xmir 2:1.19.6-1ubuntu4.15+esm7 Mar 3, 2024
xvfb · Ubuntu 18.04.6 LTS (bionic) 2:1.19.6-1ubuntu4.15+esm7 xvfb 2:1.19.6-1ubuntu4.15+esm7 Mar 3, 2024
xvfb · Ubuntu 20.04 LTS (focal) 2:1.20.13-1ubuntu1~20.04.16 xvfb 2:1.20.13-1ubuntu1~20.04.16 Mar 3, 2024
xvfb · Ubuntu 22.04.1 LTS (jammy) 2:21.1.4-2ubuntu1.7~22.04.9 xvfb 2:21.1.4-2ubuntu1.7~22.04.9 Mar 3, 2024
xvfb · Ubuntu 24.04.5 LTS (noble) 2:21.1.12-1ubuntu1 xvfb 2:21.1.12-1ubuntu1 Mar 3, 2024
xvfb · Ubuntu 24.10 (oracular) 2:21.1.12-1ubuntu1 xvfb 2:21.1.12-1ubuntu1 Jan 16, 2026
xvfb · Ubuntu 25.04 (plucky) 2:21.1.12-1ubuntu1 xvfb 2:21.1.12-1ubuntu1 Jan 16, 2026
xwayland · Ubuntu 18.04.6 LTS (bionic) 2:1.19.6-1ubuntu4.15+esm7 xwayland 2:1.19.6-1ubuntu4.15+esm7 Mar 3, 2024
xwayland · Ubuntu 20.04 LTS (focal) 2:1.20.13-1ubuntu1~20.04.16 xwayland 2:1.20.13-1ubuntu1~20.04.16 Mar 3, 2024
xwayland · Ubuntu 22.04.1 LTS (jammy) 2:22.1.1-1ubuntu0.12 xwayland 2:22.1.1-1ubuntu0.12 Mar 3, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.