CVE-2024-21885 - CVE House
Back to Database
Status published High CVE-2024-21885

Xorg-x11-server: heap buffer overflow in xisenddevicehierarchyevent

Vulnerability Description

A flaw was found in X.Org server. In the XISendDeviceHierarchyEvent function, it is possible to exceed the allocated array length when certain new device IDs are added to the xXIHierarchyInfo struct. This can trigger a heap buffer overflow condition, which may lead to an application crash or remote code execution in SSH X11 forwarding environments.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-21885

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Red Hat would like to thank Jan-Niklas Sohn (Trend Micro Zero Day Initiative) for reporting this issue.

Affected Vendor

Affected Software

Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.2 Advanced Update Support, Red Hat Enterprise Linux 8.2 Telecommunications Update Service, Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.4 Telecommunications Update Service, Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions, Red Hat Enterprise Linux 8.6 Extended Update Support, Red Hat Enterprise Linux 8.8 Extended Update Support, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 9.0 Extended Update Support, Red Hat Enterprise Linux 9.2 Extended Update Support, Red Hat Enterprise Linux 6
Vulnerable Versions:
0, 21.1.11, 23.2.4, 0:1.1.0-25.el6_10.13, 0:1.20.4-27.el7_9, 0:1.8.0-31.el7_9, 0:1.13.1-2.el8_9.7, 0:1.20.11-22.el8, 0:21.1.3-15.el8, 0:1.9.0-15.el8_2.9, 0:1.11.0-8.el8_4.8, 0:1.12.0-6.el8_6.9, 0:1.12.0-15.el8_8.7, 0:1.13.1-3.el9_3.6, 0:1.20.11-24.el9, 0:22.1.9-5.el9, 0:1.11.0-22.el9_0.8, 0:1.12.0-14.el9_2.5

Timeline

Official Publish: February 28th, 2024
Last Modified: November 6th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses (CWE)