CVE-2024-31081

HIGH CVSS 3.1: 7.3 EPSS 0.51%
Updated Nov 23, 2026
Red Hat
Parameter Value
CVSS 7.3 (HIGH)
Type CWE-126
Vendor Red Hat
Public PoC No

A heap-based buffer over-read vulnerability was found in the X.org server's ProcXIPassiveGrabDevice() 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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
Low
Partial data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products

red hat:red hat enterprise linux 8.4 advanced mission critical update support red hat:red hat enterprise linux 8.4 telecommunications update service red hat:red hat enterprise linux 8.6 extended update support red hat:red hat enterprise linux 6 red hat:red hat enterprise linux 9 red hat:red hat enterprise linux 9.2 extended update support red hat:red hat enterprise linux 9.0 extended update support red hat:red hat enterprise linux 8 red hat:red hat enterprise linux 10 red hat:red hat enterprise linux 8.4 update services for sap solutions red hat:red hat enterprise linux 7 red hat:red hat enterprise linux 8.2 update services for sap solutions red hat:red hat enterprise linux 8.2 telecommunications update service red hat:red hat enterprise linux 8.8 extended update support red hat:red hat enterprise linux 8.2 advanced update support red hat:red hat enterprise linux 6 extended lifecycle support - extension

References 24

https://access.redhat.com/errata/RHSA-2024:1785
RHSA-2024:1785
https://access.redhat.com/errata/RHSA-2024:2036
RHSA-2024:2036
https://access.redhat.com/errata/RHSA-2024:2037
RHSA-2024:2037
https://access.redhat.com/errata/RHSA-2024:2038
RHSA-2024:2038
https://access.redhat.com/errata/RHSA-2024:2039
RHSA-2024:2039
https://access.redhat.com/errata/RHSA-2024:2040
RHSA-2024:2040
https://access.redhat.com/errata/RHSA-2024:2041
RHSA-2024:2041
https://access.redhat.com/errata/RHSA-2024:2042
RHSA-2024:2042
https://access.redhat.com/errata/RHSA-2024:2080
RHSA-2024:2080
https://access.redhat.com/errata/RHSA-2024:2616
RHSA-2024:2616
https://access.redhat.com/errata/RHSA-2024:3258
RHSA-2024:3258
https://access.redhat.com/errata/RHSA-2024:3261
RHSA-2024:3261
https://access.redhat.com/errata/RHSA-2024:3343
RHSA-2024:3343
https://access.redhat.com/errata/RHSA-2024:9093
RHSA-2024:9093
https://access.redhat.com/errata/RHSA-2024:9122
RHSA-2024:9122
https://access.redhat.com/errata/RHSA-2025:12751
RHSA-2025:12751
https://access.redhat.com/security/cve/CVE-2024-31081
NVD
https://bugzilla.redhat.com/show_bug.cgi?id=2271998
RHBZ#2271998
http://www.openwall.com/lists/oss-security/2024/04/03/13
af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2024/04/12/10
af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/04/msg00009.html
af854a3a-2127-422b-91ae-364da2661108
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproj…
af854a3a-2127-422b-91ae-364da2661108
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproj…
af854a3a-2127-422b-91ae-364da2661108
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproj…
af854a3a-2127-422b-91ae-364da2661108