CVE-2026-121604
published medium CVSS 4.0 · 4.8wlroots before 0.20.2 Out-of-Bounds Read via read_surface_class() in xwm.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wlroots | — | wlroots0 to < 0.20.2 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.3 | low | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wlroots | wlroots | 0 to < 0.20.2 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-125 Out-of-bounds Read
References
7- https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/0.20.1/xwayland/xwm.c#L661-L678
- https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/4412992469540b1d578cb94a5cd4e6e5829812dc
- https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/851cdd0089004884bd85a95ad21f04009cb5a53a
- https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5374
- https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.20.2
- https://gitlab.freedesktop.org/wlroots/wlroots/-/work_items/4092
- VulnCheck Advisory: wlroots before 0.20.2 Out-of-Bounds Read via read_surface_class() in xwm.c https://www.vulncheck.com/advisories/wlroots-before-0.20.2-out-of-bounds-read-via-read-surface-class-in-xwm-c
Provider assertions
2VulnCheck · cna
wlroots before 0.20.2 Out-of-Bounds Read via read_surface_class() in xwm.c
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8fb5df0402dfd60f2b76a03faab50e4206ee7cc925f3e95062f559e684fb4fa0
- Ingested
- 07 Nov 2026, 23:40:15 UTC
- Source record
- Official CVE record