All reports
High

xorg-x11-server: heap buffer overflow in XISendDeviceHierarchyEvent

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-21885

Probability of exploitation in the next 30 days: 1.42%

FIRST EPSS · 2026-11-24

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.

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.