CVE-2024-31082

High

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.

SeverityHigh
CVSS7.3
Exploit probability—
ProductXorg-server
PublishedApr 4, 2024
First seenApr 4, 2024
Weakness typeCWE-126CWE-126

How to fix

Update
  • xorg-server21.1.12 or later

Affected products

ProductAffected versionsFixed in
xorg-server1.12.0 ≤ v < 21.1.1221.1.12

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.