CVE-2024-31082 json
Xorg-x11-server: heap buffer overread/data leakage in procappledricreatepixmap
published 2024-04-04 2 y ago modified 2026-11-04 4 d ago also EUVD-2024-28993
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- x.org x_server 21.1.12
- x.org xorg-server 21.1.12
- xorg-server Debian 12 2:21.1.7-3+deb12u7
- xorg-server Debian 14, Debian 13 2:21.1.11-3
debian advisories DEBIAN-CVE-2024-31082
- xwayland Ubuntu 22.04 LTS 2:22.1.1-1ubuntu0.12
- xorg-server Ubuntu 20.04 LTS 2:1.20.13-1ubuntu1~20.04.16
- xorg-server Ubuntu 22.04 LTS 2:21.1.4-2ubuntu1.7~22.04.9
- xorg-server Ubuntu 24.04 LTS 2:21.1.12-1ubuntu1
- xorg-server Ubuntu Pro 14.04 LTS 2:1.15.1-0ubuntu2.11+esm11
- xorg-server Ubuntu Pro 16.04 LTS 2:1.18.4-0ubuntu0.12+esm12
- xorg-server Ubuntu Pro 18.04 LTS 2:1.19.6-1ubuntu4.15+esm7
ubuntu advisories UBUNTU-CVE-2024-31082
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- xorg-x11-server SLE Module for Development Tools 15 SP5, SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 21.1.4-150500.7.26.1
- xorg-x11-server SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +5 more 1.20.3-150200.22.5.96.1
- xorg-x11-server SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 1.20.3-150400.38.48.1
- xorg-x11-server SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.19.6-10.71.1
suse advisories SUSE-SU-2024:1262-1SUSE-SU-2024:1261-1SUSE-SU-2024:1260-1SUSE-SU-2024:1199-1
- xorg-x11-server openSUSE Tumbleweed 21.1.12-1.1
opensuse advisories openSUSE-SU-2024:13828-1
- xorg-server Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 21.1.12-r0
alpine advisories ALPINE-CVE-2024-31082
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- xorg-x11-server CBL-Mariner 2.0 1.20.10-11
azure linux advisories AZL-39112
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-31082 updated cvss 7.3
xorg-x11-server: Heap buffer overread/data leakage in ProcAppleDRICreatePixmap
-
Red Hat Enterprise Linux 6 tigervnc, tigervnc-server, xorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg, xorg-x11-server-Xvfb, +6 more Red Hat Enterprise Linux 7 tigervnc, tigervnc-icons, tigervnc-server, xorg-x11-server, tigervnc-license, xorg-x11-server-Xdmx, +10 more Red Hat Enterprise Linux 8 tigervnc, tigervnc-icons, tigervnc-server, xorg-x11-server, tigervnc-license, tigervnc-selinux, +11 more Red Hat Enterprise Linux 9 tigervnc, tigervnc-icons, tigervnc-server, xorg-x11-server, tigervnc-license, tigervnc-selinux, +10 more Red Hat Enterprise Linux 10 tigervnc, xorg-x11-server, xorg-x11-server-Xwaylandnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H |
Affected products
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
Classification
- Weakness
-
- CWE-126 Buffer Over-read
References
Sources
- CVE List CVE-2024-31082
- NVD CVE-2024-31082
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.