CVE-2024-21885
Xorg-x11-server: heap buffer overflow in xisenddevicehierarchyevent
- State
- Published
- Severity
- 7.8 High
- Published
- Feb 28, 2024
- Updated
- Nov 6, 2025
- Reserved
- Jan 2, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-122 Heap-based Buffer Overflow
Affected Products
| Product | Versions |
|---|---|
xorg-server |
|
xwayland |
|
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONRed Hat |
|
Red Hat Enterprise Linux 7Red Hat |
|
Red Hat Enterprise Linux 7Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.2 Advanced Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.2 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.2 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 8.6 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.0 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 9.2 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 6Red Hat |
References
- RHSA-2024:0320vendor-advisory
- RHSA-2024:0557vendor-advisory
- RHSA-2024:0558vendor-advisory
- RHSA-2024:0597vendor-advisory
- RHSA-2024:0607vendor-advisory
- RHSA-2024:0614vendor-advisory
- RHSA-2024:0617vendor-advisory
- RHSA-2024:0621vendor-advisory
- RHSA-2024:0626vendor-advisory
- RHSA-2024:0629vendor-advisory
- RHSA-2024:2169vendor-advisory
- RHSA-2024:2170vendor-advisory
- RHSA-2024:2995vendor-advisory
- RHSA-2024:2996vendor-advisory
- RHSA-2025:12751vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-21885vdb-entry
- RHBZ#2256540issue-tracking
- https://security.netapp.com/advisory/ntap-20240503-0004/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IZ75X54CN4IFYMIV7OK3JVZ57FHQIGIC/
- https://lists.debian.org/debian-lts-announce/2024/01/msg00016.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EJBMCWQ54R6ZL3MYU2D2JBW6JMZL7BQW/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5J4H7CH565ALSZZYKOJFYDA5KFLG6NUK/
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.