A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland. _XkbSetMapChecks() declares a fixed-size stack buffer mapWidths[256] indexed by key type index. The helper function CheckKeyTypes() writes to this buffer at a client-controlled offset, allowing a stack buffer overflow. This may be used to crash the server, or for privilege escalation if the X server runs as root.
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| X_server | X.org | * | 21.1.23 (excluding) |
| Xwayland | X.org | * | 24.1.12 (excluding) |
| Enterprise_linux | Redhat | 7.0 (including) | 7.0 (including) |
| Enterprise_linux | Redhat | 8.0 (including) | 8.0 (including) |
| Enterprise_linux | Redhat | 9.0 (including) | 9.0 (including) |
| Enterprise_linux | Redhat | 10.0 (including) | 10.0 (including) |
| Red Hat Enterprise Linux 10 | RedHat | xorg-x11-server-Xwayland-0:24.1.9-4.el10_2.2 | * |
| Red Hat Enterprise Linux 10.0 Extended Update Support | RedHat | xorg-x11-server-Xwayland-0:24.1.5-6.el10_0.1 | * |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | RedHat | xorg-x11-server-0:1.20.4-35.el7_9 | * |
| Red Hat Enterprise Linux 8 | RedHat | xorg-x11-server-Xwayland-0:21.1.3-20.el8_10.2 | * |
| Red Hat Enterprise Linux 8 | RedHat | xorg-x11-server-0:1.20.11-28.el8_10.2 | * |
| Red Hat Enterprise Linux 8 | RedHat | tigervnc-0:1.15.0-10.el8_10 | * |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | RedHat | xorg-x11-server-0:1.20.10-5.el8_4 | * |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | RedHat | xorg-x11-server-0:1.20.10-5.el8_4 | * |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | RedHat | xorg-x11-server-0:1.20.11-8.el8_6 | * |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | RedHat | xorg-x11-server-Xwayland-0:21.1.3-2.el8_6.7 | * |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | RedHat | xorg-x11-server-0:1.20.11-8.el8_6 | * |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | RedHat | xorg-x11-server-Xwayland-0:21.1.3-2.el8_6.7 | * |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | RedHat | xorg-x11-server-0:1.20.11-19.el8_8 | * |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | RedHat | xorg-x11-server-Xwayland-0:21.1.3-13.el8_8.1 | * |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | RedHat | xorg-x11-server-0:1.20.11-19.el8_8 | * |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | RedHat | xorg-x11-server-Xwayland-0:21.1.3-13.el8_8.1 | * |
| Red Hat Enterprise Linux 9 | RedHat | xorg-x11-server-Xwayland-0:24.1.9-4.el9_8.2 | * |
| Red Hat Enterprise Linux 9 | RedHat | xorg-x11-server-0:1.20.11-34.el9_8.2 | * |
| Red Hat Enterprise Linux 9 | RedHat | tigervnc-0:1.15.0-7.el9_8.2 | * |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | RedHat | xorg-x11-server-0:1.20.11-21.el9_2 | * |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | RedHat | xorg-x11-server-Xwayland-0:21.1.3-10.el9_2.1 | * |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | RedHat | xorg-x11-server-0:1.20.11-29.el9_4 | * |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | RedHat | xorg-x11-server-Xwayland-0:22.1.9-8.el9_4.1 | * |
| Red Hat Enterprise Linux 9.6 Extended Update Support | RedHat | xorg-x11-server-0:1.20.11-34.el9_6 | * |
| Red Hat Enterprise Linux 9.6 Extended Update Support | RedHat | xorg-x11-server-Xwayland-0:23.2.7-6.el9_6.1 | * |
| Xorg-server | Ubuntu | questing | * |
| Xwayland | Ubuntu | questing | * |
| Xwayland | Ubuntu | upstream | * |