Technical impact
wlroots versions prior to 0.20.2 include an out‑of‑bounds read in the read_surface_class() routine of Xwayland/xwm.c. The flaw allows a local X11 client to craft a WM_CLASS property where the instance field is NUL‑terminated but the class field lacks termination, causing the compositor to over‑read its heap and expose internal memory contents through IPC as the window class or application ID. The result is a local information‑disclosure vulnerability that can leak arbitrary heap data to a malicious client.
Affected Systems
The issue affects the open‑source compositor library wlroots, specifically all releases earlier than 0.20.2. Systems that run wlroots as part of their display server stack and allow local X11 applications to connect are impacted. The exact versions are not listed, but any build based on older source code prior to the 0.20.2 release is considered vulnerable.
Risk and Exploitability
The CVSS score of 4.8 reflects a moderate severity local flaw. Leveraging the vulnerability requires the attacker to run a local X11 client and manipulate the WM_CLASS property, a scenario typical of a compromised or malicious application on the same user session. EPSS data is not available, and the flaw is not cataloged in the CISA KEV list, indicating a lower probability of widespread exploitation in the wild at present. Nonetheless, any local process with X11 capabilities can trigger the over‑read and exfiltrate data, emphasizing the need for patching.