cve.bz

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

7.3 highEPSS 0.3%

High (7.3) in red hat. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 21st percentile. Scored 2026-11-29. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-07-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-126 Buffer Over-read
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-31082 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-31082?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-31082?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-31082 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
xorg-serverfrom 1.12.0 before 21.1.12

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12xorg-server2:21.1.7-3+deb12u7DEBIAN-CVE-2024-31082
Debian13, 14xorg-server2:21.1.11-3DEBIAN-CVE-2024-31082
Ubuntu20.04:LTSxorg-server2:1.20.13-1ubuntu1~20.04.16UBUNTU-CVE-2024-31082 USN-6721-1
Ubuntu22.04:LTSxorg-server2:21.1.4-2ubuntu1.7~22.04.9UBUNTU-CVE-2024-31082 USN-6721-1
Ubuntu22.04:LTSxwayland2:22.1.1-1ubuntu0.12UBUNTU-CVE-2024-31082 USN-6721-1
Ubuntu24.04:LTSxorg-server2:21.1.12-1ubuntu1UBUNTU-CVE-2024-31082
UbuntuPro:14.04:LTSxorg-server2:1.15.1-0ubuntu2.11+esm11UBUNTU-CVE-2024-31082 USN-6721-1
UbuntuPro:16.04:LTSxorg-server2:1.18.4-0ubuntu0.12+esm12UBUNTU-CVE-2024-31082 USN-6721-1
UbuntuPro:16.04:LTSxorg-server-hwe-16.04no fix listedUBUNTU-CVE-2024-31082
UbuntuPro:18.04:LTSxorg-server2:1.19.6-1ubuntu4.15+esm7UBUNTU-CVE-2024-31082 USN-6721-1
UbuntuPro:18.04:LTSxorg-server-hwe-18.04no fix listedUBUNTU-CVE-2024-31082
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 5 morexorg-x11-server1.20.3-150200.22.5.96.1SUSE-SU-2024:1261-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 3 morexorg-x11-server1.20.3-150400.38.48.1SUSE-SU-2024:1260-1
SUSELinux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Development Tools 15 SP5xorg-x11-server21.1.4-150500.7.26.1SUSE-SU-2024:1262-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5xorg-x11-server1.19.6-10.71.1SUSE-SU-2024:1199-1
openSUSELeap 15.5xorg-x11-server21.1.4-150500.7.26.1SUSE-SU-2024:1262-1
openSUSETumbleweedxorg-x11-server21.1.12-1.1openSUSE-SU-2024:13828-1
Alpinev3.19, v3.20, v3.21 and 3 morexorg-server21.1.12-r0ALPINE-CVE-2024-31082
Azure Linux2xorg-x11-server1.20.10-11AZL-39112
Azure Linux3xorg-x11-serverno fix listedAZL-45393
Alpaquita23, streamxorg-server21.1.12-r0BELL-CVE-2024-31082

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
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 6tigervncNot affected
Red Hat Enterprise Linux 6xorg-x11-serverNot affected
Red Hat Enterprise Linux 7tigervncNot affected
Red Hat Enterprise Linux 7xorg-x11-serverNot affected
Red Hat Enterprise Linux 8tigervncNot affected
Red Hat Enterprise Linux 8xorg-x11-serverNot affected
Red Hat Enterprise Linux 8xorg-x11-server-XwaylandNot affected
Red Hat Enterprise Linux 9tigervncNot affected
Red Hat Enterprise Linux 9xorg-x11-serverNot affected
Red Hat Enterprise Linux 9xorg-x11-server-XwaylandNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-31082.

References

Check your stackJSON