X.org Server: Heap-based buffer over-read (CVE-2024-31082)
A heap-based buffer over-read vulnerability exists in the X.org server's ProcAppleDRICreatePixmap() function, potentially allowing an attacker to cause memory leakage and service crashes.
CVE search metadata
CVE search record: CVE-2024-31082. Severity: high. CVSS: 7.3. EPSS: 0.34%. KEV: no. Product: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, xorg-server. Brief: X.org Server: Heap-based buffer over-read (CVE-2024-31082). Brief link: https://feed.craftedsignal.io/briefs/2026-11-xorg-server-over-read-cve-2024-31082/
Triage facts
Revision 1- Applicability
- Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6 +4
- Evidence
- Unknown
- Severity
- High
- Sources
- 2 public sources
- Freshness
- Revision 1Nov 23, 15:14 UTC
- Vulnerabilities
- 1 CVE
Overview
A heap-based buffer over-read vulnerability has been identified in the X.org server's ProcAppleDRICreatePixmap() function. The issue arises when byte-swapped length values are processed in replies, which can be triggered by a client with a different endianness.
Attack Chain
An attacker can exploit this vulnerability to force the X server to read heap memory values and transmit them back to the client until an unmapped page is reached. This results in an out-of-bounds read and a subsequent server crash. The attacker cannot control the specific memory contents copied into the replies, but can trigger significant attempted out-of-bounds reads using small length values stored in a 32-bit integer.
Impact
The vulnerability can lead to information disclosure of heap memory and a denial-of-service condition (server crash). The vulnerability requires low privileges (PR:L) and has low attack complexity (AC:L), but is restricted to local access (AV:L).
Recommendation
Users should monitor vendor security advisories and update the xorg-server package when patches are made available for their specific distribution.