CVE-2024-31082

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

State
Published
Severity
7.3 High
Published
Apr 4, 2024
Updated
Nov 20, 2025
Reserved
Mar 28, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:Hredhat

Weaknesses

Affected Products

ProductVersions
xorg-server
  • 1.12.0 to before 21.1.12Affected
Red Hat Enterprise Linux 10Red Hat
    Red Hat Enterprise Linux 10Red Hat
      Red Hat Enterprise Linux 10Red Hat
        Red Hat Enterprise Linux 6Red Hat
          Red Hat Enterprise Linux 6Red Hat
            Red Hat Enterprise Linux 7Red Hat
              Red Hat Enterprise Linux 7Red Hat
                Red Hat Enterprise Linux 8Red Hat
                  Red Hat Enterprise Linux 8Red Hat
                    Red Hat Enterprise Linux 8Red Hat
                      Red Hat Enterprise Linux 9Red Hat
                        Red Hat Enterprise Linux 9Red Hat
                          Red Hat Enterprise Linux 9Red Hat

                            References

                            Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.