wlroots before 0.20.2 Out-of-Bounds Read via read_surface_class() in xwm.c
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| wlrootswlroots |
< 0.20.2→ 0.20.2 |
0.20.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-121604 wlroots Fix available
- Ubuntu UBUNTU-CVE-2026-121604 wlroots No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory gitlab.freedesktop.org
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package gitlab.freedesktop.org
- patch gitlab.freedesktop.org
- patch gitlab.freedesktop.org
- report gitlab.freedesktop.org
- report gitlab.freedesktop.org
- web gitlab.freedesktop.org
- web github.com