X.Org patches 12 X server and Xwayland flaws, nine allowing code execution
X.Org fixed 12 vulnerabilities in the X server and Xwayland, shipping in xorg-server 21.1.25 and xwayland 24.1.14. Nine can lead to arbitrary code execution and the rest to crashes or information disclosure. Most are buffer overflows, out-of-bounds writes or use-after-free bugs, and ten require an X client the server already accepts connections from.
X.Org published a security advisory on October 7 covering 12 vulnerabilities in the X.Org X server and Xwayland, the compatibility layer that lets X11 applications run on Wayland desktops. Fixes ship in xorg-server 21.1.25 and xwayland 24.1.14.
Nine of the flaws can lead to arbitrary code execution; the other three can crash the server or disclose information. Seven are buffer overflows or out-of-bounds writes, three are use-after-free bugs, one is a double free and one is an out-of-bounds read. They sit in some of the server's oldest and most complex extensions, including XKB (keyboard handling), GLX, Present, XInput, RandR and XFIXES. Eleven of the 12 affect both the X server and Xwayland; CVE-2026-93522, a heap overflow in the Glamor CopyArea code used on GPU-accelerated systems, affects only Xwayland.
In ten cases the advisory says the attacker has to be an authenticated X client, meaning a program the server already accepts connections from, which on most desktops includes any application the user runs. Two flaws depend on extensions that are enabled by default: CVE-2026-93515 needs Present and SYNC, and CVE-2026-93519 needs XFIXES and XTEST plus more than 100 active pointer barriers.
Two fixes complete earlier work. CVE-2026-93520 stems from an incomplete earlier fix to the XKB keycode-range code, and CVE-2026-93521 repeats a bug already fixed in RandR's output-property path but not in its provider-property path. Many of the issues were reported anonymously through the TrendAI Zero Day Initiative. Administrators and distributions should move to the fixed versions; each CVE entry in the advisory links to its fix commit.