CVE-2024-31081
JSON

7.3high

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

Severity
7.3high CVSS:3.1 by redhat
Exploit likelihood
0.58% (higher than 48% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

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.

Affected

Product or packageVersionsReported by
xorg-server1.7.0CVE List
tigervncNot specified
Not affected: from 0:1.1.0-25.el6_10.13 before *, from 0:1.8.0-33.el7_9 before *, from 0:1.13.1-2.el8_9.10 before *, from 0:1.13.1-10.el8_10 before *, from 0:1.9.0-15.el8_2.11 before *, from 0:1.11.0-8.el8_4.10 before *
CVE List
xorg-x11-serverNot specified
Not affected: from 0:1.20.4-29.el7_9 before *, from 0:1.20.11-23.el8_10 before *, from 0:1.20.11-26.el9 before *
CVE List
xorg-x11-server-XwaylandNot specified
Not affected: from 0:21.1.3-16.el8_10 before *, from 0:23.2.7-1.el9 before *
CVE List

Classification

CWE-126

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se encontró una vulnerabilidad de sobrelectura del búfer de almacenamiento dinámico en la función ProcXIPassiveGrabDevice() del servidor X.org. Este problema se produce cuando se utilizan valores de longitud de bytes intercambiados en las respuestas, lo que puede provocar pérdidas de memoria y errores de segmentación, especialmente cuando lo activa un cliente con una endianidad diferente. Un atacante podría aprovechar esta vulnerabilidad para hacer que el servidor X lea los valores de la memoria dinámica y luego los transmita de vuelta al cliente hasta encontrar una página no asignada, lo que provocaría un bloqueo. A pesar de la incapacidad del atacante para controlar la memoria específica copiada en las respuestas, los pequeños valores de longitud que normalmente se almacenan en un entero de 32 bits pueden dar como resultado importantes intentos de lecturas fuera de los límites.

References

https://access.redhat.com/errata/RHSA-2024:1785vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2036vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2037vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2038vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2039vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2040vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2041vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2042vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2080vendor-advisory
https://access.redhat.com/errata/RHSA-2024:2616vendor-advisory
https://access.redhat.com/errata/RHSA-2024:3258vendor-advisory
https://access.redhat.com/errata/RHSA-2024:3261vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2024-31081 changed 2026-11-23CVE Terms of Use
NVDCVE-2024-31081 changed 2026-11-23Public domain