Vulnerability · Published Nov 3, 2026 · Assigned by VulnCheck
CVE-2026-121604wlroots before 0.20.2 Out-of-Bounds Read via read_surface_class() in xwm.c
Low 3.3
In plain English
A low-severity out-of-bounds read in wlroots from wlroots. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 1% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | wlroots | no fix listed | DEBIAN-CVE-2026-121604 |
| Debian:13 | wlroots | no fix listed | DEBIAN-CVE-2026-121604 |
| Debian:14 | wlroots | 0.20.2-1 | DEBIAN-CVE-2026-121604 |
| Ubuntu:22.04:LTS | wlroots | no fix listed | UBUNTU-CVE-2026-121604 |
| Ubuntu:24.04:LTS | wlroots | no fix listed | UBUNTU-CVE-2026-121604 |
| Ubuntu:26.04:LTS | wlroots | no fix listed | UBUNTU-CVE-2026-121604 |
| Ubuntu:26.10 | wlroots | no fix listed | UBUNTU-CVE-2026-121604 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
References
- https://gitlab.freedesktop.org/wlroots/wlroots/-/work_items/4092 issue-tracking
- https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5374 issue-tracking
- https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/851cdd0089004884bd85a95ad21f04009cb5a53a patch
- https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/4412992469540b1d578cb94a5cd4e6e5829812dc patch
- https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.20.2 release-notes
- https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/0.20.1/xwayland/xwm.c#L661-L678 technical-description
- VulnCheck Advisory: wlroots before 0.20.2 Out-of-Bounds Read via read_surface_class() in xwm.c third-party-advisory