An integer truncation issue in XkbResizeKeyType() that could lead to a heap buffer overflow by authenticated X clients in X.org X server before 21.1.25 and XWayland before 24.1.14 could be exploited for crashes or potential code execution in the X server.
https://gitlab.freedesktop.org/xorg/xserver/-/commit/89101a6c6618f543d7502f2077c7ef1a507af256