NetSight
medium4.8

CVE-2026-121604

wlroots before 0.20.2 contains an out-of-bounds read vulnerability in read_surface_class() in xwayland/xwm.c that allows local X11 clients to leak compositor h…

Impact

wlroots before 0.20.2 contains an out-of-bounds read vulnerability in read_surface_class() in xwayland/xwm.c that allows local X11 clients to leak compositor heap memory. Attackers can set a WM_CLASS property with a NUL-terminated instance but unterminated class, exposing over-read heap bytes as the window class or app_id over IPC.

An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. If it succeeds: low risk of data being read.

Affected products · Wlroots

ProductAffected versions
Wlroots
before 0.20.2

Weakness classification

References