wlroots before 0.20.2 contains an out-of-bounds read vulnerability in read_surface_class() in xwayland/xwm.c that
Affects wlrootsSource GCVE Database
Not known to be exploited · CVSS 4.8 Medium.
Data as of 24 Nov 2026, 23:57 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 4.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 3.3 |
| CNA | CVSS 4.0 | 4.8 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10wlrootspkg:deb/ubuntu/wlroots?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSwlrootspkg:deb/ubuntu/wlroots?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSwlrootspkg:deb/ubuntu/wlroots?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSwlrootspkg:deb/ubuntu/wlroots?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSwlrootspkg:deb/ubuntu/wlroots?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade wlroots to version 0.20.2 or later, where this out-of-bounds read vulnerability is fixed. No other mitigation steps are indicated. Since this is a local vulnerability, restricting local access to trusted users can reduce risk until patched.
Description
wlroots versions before 0.20.2 contain an out-of-bounds read vulnerability in the read_surface_class() function within xwayland/xwm.c. This flaw allows local X11 clients to leak compositor heap memory by setting a WM_CLASS property with a NUL-terminated instance but an unterminated class, causing over-read heap bytes to be exposed as the window class or app_id over IPC. The vulnerability has a low severity score and does not affect system integrity or availability.
References
- ubuntu.com/security/CVE-2026-121604 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-121604 (opens in a new tab)
- gitlab.freedesktop.org/wlroots/wlroots/-/blob/0.20.1/xwayland/xwm.c (opens in a new tab)
- gitlab.freedesktop.org/wlroots/wlroots/-/commit/4412992469540b1d578cb94a5cd4e6e5829812dc (opens in a new tab)
- gitlab.freedesktop.org/wlroots/wlroots/-/commit/851cdd0089004884bd85a95ad21f04009cb5a53a (opens in a new tab)
- gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5374 (opens in a new tab)
- gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.20.2 (opens in a new tab)
- gitlab.freedesktop.org/wlroots/wlroots/-/work_items/4092 (opens in a new tab)
- vulncheck.com/advisories/wlroots-before-0.20.2-out-of-bounds-read-via-read-surface-class-in-xwm-c (opens in a new tab)