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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-04-04 · Modified: 2026-11-23
- Aliases: UBUNTU-CVE-2024-31082, DEBIAN-CVE-2024-31082, CGA-x5j2-46vg-c657, CGA-xg7g-96rc-6jp8, ALPINE-CVE-2024-31082
- Record: https://cvemate.com/vulnerability/CVE-2024-31082 · JSON: https://cvemate.com/vulnerability/CVE-2024-31082/json

## Description

```text
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.
```

## Signals

- CVSS: 7.3 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
- EPSS: 0.38%, percentile 34.137%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine xorg-server (Alpine Linux): \< 21.1.12-r0
- chainguard xorg-server (Chainguard): \< 21.1.12-r0
- wolfi xorg-server (Wolfi): \< 21.1.12-r0
- debian xorg-server (Debian): \< 2:21.1.7-3+deb12u7 \| \< 2:21.1.11-3
- ubuntu xorg-server (Ubuntu): \< 2:1.15.1-0ubuntu2.11+esm11 \| \< 2:1.18.4-0ubuntu0.12+esm12 \| \< 2:1.19.6-1ubuntu4.15+esm7 \| \< 2:1.20.13-1ubuntu1~20.04.16 \| \< 2:21.1.4-2ubuntu1.7~22.04.9 \| \< 2:21.1.12-1ubuntu1
- ubuntu xorg-server-hwe-16.04 (Ubuntu): All versions (No fix recorded)
- ubuntu xorg-server-hwe-18.04 (Ubuntu): All versions (No fix recorded)
- ubuntu xwayland (Ubuntu): \< 2:22.1.1-1ubuntu0.12

## References

- <https://access.redhat.com/security/cve/CVE-2024-31082>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2271999>
- <https://lists.x.org/archives/xorg-announce/2024-April/003497.html>
- <http://www.openwall.com/lists/oss-security/2024/04/03/13>
- <http://www.openwall.com/lists/oss-security/2024/04/12/10>
- <https://ubuntu.com/security/CVE-2024-31082>
- <https://ubuntu.com/security/notices/USN-6721-1>
- <https://www.cve.org/CVERecord?id=CVE-2024-31082>
- <https://security-tracker.debian.org/tracker/CVE-2024-31082>
- <https://access.redhat.com/downloads/content/package-browser/>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31082.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-31082>
- <https://gitlab.freedesktop.org/xorg/xserver/>
- <https://security.alpinelinux.org/vuln/CVE-2024-31082>

---

Data as of 2026-12-05T04:44:03.363Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
