7.8high
Xorg-x11-server: heap buffer overflow in xisenddevicehierarchyevent
- Severity
- 7.8high CVSS:3.1 by redhat
- Exploit likelihood
- 0.91% (higher than 58% of CVEs)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| xorg-server | before 21.1.11 Not affected: from 21.1.11 before * | CVE List |
| xwayland | before 23.2.4 Not affected: from 23.2.4 before * | CVE List |
| tigervnc | Not specified Not affected: from 0:1.1.0-25.el6_10.13 before *, from 0:1.8.0-31.el7_9 before *, from 0:1.13.1-2.el8_9.7 before *, from 0:1.9.0-15.el8_2.9 before *, from 0:1.11.0-8.el8_4.8 before *, from 0:1.12.0-6.el8_6.9 before * | CVE List |
| xorg-x11-server | Not specified Not affected: from 0:1.20.4-27.el7_9 before *, from 0:1.20.11-22.el8 before *, from 0:1.20.11-24.el9 before * | CVE List |
| xorg-x11-server-Xwayland | Not specified Not affected: from 0:21.1.3-15.el8 before *, from 0:22.1.9-5.el9 before * | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Se encontró una falla en el servidor X.Org. En la función XISendDeviceHierarchyEvent, es posible exceder la longitud de la matriz asignada cuando se agregan ciertos ID de dispositivo nuevos a la estructura xXIHierarchyInfo. Esto puede desencadenar una condición de desbordamiento de búfer de almacenamiento dinámico, lo que puede provocar un bloqueo de la aplicación o la ejecución remota de código en entornos de reenvío SSH X11.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-21885 changed 2026-11-04 | CVE Terms of Use |
| NVD | CVE-2024-21885 changed 2026-11-04 | Public domain |