CVEfocus › CVE database › CVE-2024-31082

CVE-2024-31082Xorg-x11-server: heap buffer overread/data leakage in procappledricreatepixmap

CVSS 7.3 HighEPSS 0.3% (higher than 21% of CVEs)Published 2024-04-04Updated 2026-11-23Assigner: redhat

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

CWE-126

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
5Fix pending
78Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04xorgNot affected
vulnerable_code_not_present
Ubuntu 26.04xwaylandNot affected
vulnerable_code_not_present
Ubuntu 25.10xorgNot affected
vulnerable_code_not_present
Ubuntu 25.10xwaylandNot affected
vulnerable_code_not_present
Ubuntu 24.04xorgNot affected
vulnerable_code_not_present
Ubuntu 24.04xorg-serverFixed2:21.1.12-1ubuntu1UBUNTU-CVE-2024-31082
Ubuntu 24.04xwaylandNot affected
vulnerable_code_not_present
Ubuntu 22.04xorgNot affected
vulnerable_code_not_present
Ubuntu 22.04xorg-serverFixed2:21.1.4-2ubuntu1.7~22.04.9UBUNTU-CVE-2024-31082
Ubuntu 22.04xwaylandFixed2:22.1.1-1ubuntu0.12UBUNTU-CVE-2024-31082
Ubuntu 20.04xorgNot affected
vulnerable_code_not_present
Ubuntu 20.04xorg-serverFixed2:1.20.13-1ubuntu1~20.04.16UBUNTU-CVE-2024-31082
Ubuntu 18.04xorg-serverFix pending2:1.19.6-1ubuntu4.15+esm7 (Ubuntu Pro)UBUNTU-CVE-2024-31082
Ubuntu 18.04xorg-server-hwe-18.04Fix pendingUBUNTU-CVE-2024-31082
Ubuntu 16.04xorg-serverFix pending2:1.18.4-0ubuntu0.12+esm12 (Ubuntu Pro)UBUNTU-CVE-2024-31082
Ubuntu 16.04xorg-server-hwe-16.04Fix pendingUBUNTU-CVE-2024-31082
Ubuntu 14.04xorg-serverFix pending2:1.15.1-0ubuntu2.11+esm11 (Ubuntu Pro)UBUNTU-CVE-2024-31082
Debian 14xorg-serverFixed2:21.1.11-3DEBIAN-CVE-2024-31082
Debian 13xorg-serverFixed2:21.1.11-3DEBIAN-CVE-2024-31082
Debian 12xorg-serverFixed2:21.1.7-3+deb12u7DEBIAN-CVE-2024-31082
Red Hat Enterprise Linux 10tigervncNot affected
Red Hat Enterprise Linux 10xorg-x11-serverNot affected
Red Hat Enterprise Linux 10xorg-x11-server-XwaylandNot affected
Red Hat Enterprise Linux 10xorg-x11-server-Xwayland-develNot affected
Red Hat Enterprise Linux 9tigervncNot affected
Red Hat Enterprise Linux 9tigervnc-iconsNot affected
Red Hat Enterprise Linux 9tigervnc-licenseNot affected
Red Hat Enterprise Linux 9tigervnc-selinuxNot affected
Red Hat Enterprise Linux 9tigervnc-serverNot affected
Red Hat Enterprise Linux 9tigervnc-server-minimalNot affected
Red Hat Enterprise Linux 9tigervnc-server-moduleNot affected
Red Hat Enterprise Linux 9xorg-x11-serverNot affected
Red Hat Enterprise Linux 9xorg-x11-server-XdmxNot affected
Red Hat Enterprise Linux 9xorg-x11-server-XephyrNot affected
Red Hat Enterprise Linux 9xorg-x11-server-XnestNot affected
Red Hat Enterprise Linux 9xorg-x11-server-XorgNot affected
Red Hat Enterprise Linux 9xorg-x11-server-XvfbNot affected
Red Hat Enterprise Linux 9xorg-x11-server-XwaylandNot affected
Red Hat Enterprise Linux 9xorg-x11-server-Xwayland-develNot affected
Red Hat Enterprise Linux 9xorg-x11-server-commonNot affected
Red Hat Enterprise Linux 9xorg-x11-server-develNot affected
Red Hat Enterprise Linux 9xorg-x11-server-sourceNot affected
Red Hat Enterprise Linux 8tigervncNot affected
Red Hat Enterprise Linux 8tigervnc-iconsNot affected
Red Hat Enterprise Linux 8tigervnc-licenseNot affected
Red Hat Enterprise Linux 8tigervnc-selinuxNot affected
Red Hat Enterprise Linux 8tigervnc-serverNot affected
Red Hat Enterprise Linux 8tigervnc-server-appletNot affected
Red Hat Enterprise Linux 8tigervnc-server-minimalNot affected
Red Hat Enterprise Linux 8tigervnc-server-moduleNot affected
Red Hat Enterprise Linux 8xorg-x11-serverNot affected
Red Hat Enterprise Linux 8xorg-x11-server-XdmxNot affected
Red Hat Enterprise Linux 8xorg-x11-server-XephyrNot affected
Red Hat Enterprise Linux 8xorg-x11-server-XnestNot affected
Red Hat Enterprise Linux 8xorg-x11-server-XorgNot affected
Red Hat Enterprise Linux 8xorg-x11-server-XvfbNot affected
Red Hat Enterprise Linux 8xorg-x11-server-XwaylandNot affected
Red Hat Enterprise Linux 8xorg-x11-server-commonNot affected
Red Hat Enterprise Linux 8xorg-x11-server-develNot affected
Red Hat Enterprise Linux 8xorg-x11-server-sourceNot affected
Red Hat Enterprise Linux 7tigervncNot affected
Red Hat Enterprise Linux 7tigervnc-iconsNot affected
Red Hat Enterprise Linux 7tigervnc-licenseNot affected
Red Hat Enterprise Linux 7tigervnc-serverNot affected
Red Hat Enterprise Linux 7tigervnc-server-appletNot affected
Red Hat Enterprise Linux 7tigervnc-server-minimalNot affected
Red Hat Enterprise Linux 7tigervnc-server-moduleNot affected
Red Hat Enterprise Linux 7xorg-x11-serverNot affected
Red Hat Enterprise Linux 7xorg-x11-server-XdmxNot affected
Red Hat Enterprise Linux 7xorg-x11-server-XephyrNot affected
Red Hat Enterprise Linux 7xorg-x11-server-XnestNot affected
Red Hat Enterprise Linux 7xorg-x11-server-XorgNot affected
Red Hat Enterprise Linux 7xorg-x11-server-XvfbNot affected
Red Hat Enterprise Linux 7xorg-x11-server-XwaylandNot affected
Red Hat Enterprise Linux 7xorg-x11-server-commonNot affected
Red Hat Enterprise Linux 7xorg-x11-server-develNot affected
Red Hat Enterprise Linux 7xorg-x11-server-sourceNot affected
Red Hat Enterprise Linux 6tigervncNot affected
Red Hat Enterprise Linux 6tigervnc-serverNot affected
Red Hat Enterprise Linux 6tigervnc-server-appletNot affected
Red Hat Enterprise Linux 6tigervnc-server-moduleNot affected
Red Hat Enterprise Linux 6xorg-x11-serverNot affected
Red Hat Enterprise Linux 6xorg-x11-server-XdmxNot affected
Red Hat Enterprise Linux 6xorg-x11-server-XephyrNot affected
Red Hat Enterprise Linux 6xorg-x11-server-XnestNot affected
Red Hat Enterprise Linux 6xorg-x11-server-XorgNot affected
Red Hat Enterprise Linux 6xorg-x11-server-XvfbNot affected
Red Hat Enterprise Linux 6xorg-x11-server-commonNot affected
Red Hat Enterprise Linux 6xorg-x11-server-develNot affected
Red Hat Enterprise Linux 6xorg-x11-server-sourceNot affected
Alpine Linux 3.24xorg-serverFixed21.1.12-r0ALPINE-CVE-2024-31082
Alpine Linux 3.23xorg-serverFixed21.1.12-r0ALPINE-CVE-2024-31082
Alpine Linux 3.22xorg-serverFixed21.1.12-r0ALPINE-CVE-2024-31082
Alpine Linux 3.21xorg-serverFixed21.1.12-r0ALPINE-CVE-2024-31082
Alpine Linux 3.20xorg-serverFixed21.1.12-r0ALPINE-CVE-2024-31082
Alpine Linux 3.19xorg-serverFixed21.1.12-r0ALPINE-CVE-2024-31082

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.