CVE-2024-21885

Xorg-x11-server: heap buffer overflow in xisenddevicehierarchyevent

Published Feb 28, 2024 CVSS 3.1 · 7.8 High EPSS 1.4% KEV · Not listed
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.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3721-1 xorg-server security update
Debian DSA Debian DSA DSA-5603-1 xorg-server security update
EUVD EUVD EUVD-2024-19496 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.
Ubuntu USN Ubuntu USN USN-6587-1 X.Org X Server vulnerabilities
Ubuntu USN Ubuntu USN USN-6587-2 X.Org X Server vulnerabilities
Ubuntu USN Ubuntu USN USN-6587-5 X.Org X Server vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 4, 2026, 9:10 PM
Reserved
Jan 2, 2024, 9:57 PM
Status
Deferred
Published
Feb 28, 2024, 1:15 PM
Modified
Nov 4, 2026, 9:17 PM
Severity
Important
Public date
Jan 16, 2024, 12:00 AM