A heap buffer overflow caused by mismatched size usage in CopyArea CPU-to-FBO path in X.Org X Server before 21.1.15 and XWayland before 24.1.14 could be used by authenticated X clients to crash or potentially execute code in the X server context.
https://gitlab.freedesktop.org/xorg/xserver/-/commit/ad26c26bf795e6464f74c8ef5bb1d41403d877ab