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

- Severity: High 7.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2024-04-04T13:48:34.893Z
- Modified: 2026-11-23T14:17:20.310Z
- Weaknesses: CWE-126
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- xorg-server: from 1.12.0 before 21.1.12
- tigervnc: no versions given
- xorg-x11-server: no versions given
- xorg-x11-server-Xwayland: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2024-31082> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2271999> (issue-tracking)
- <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>

## Sources

- CVE List: [CVE-2024-31082](https://www.cve.org/CVERecord?id=CVE-2024-31082), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2024-31082](https://nvd.nist.gov/vuln/detail/CVE-2024-31082), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2024-31082 · Whole record: https://cve.day/CVE-2024-31082.json · Rebuilt by cve.day 2026-11-25T22:58:38.757Z
