# CVE-2026-121604: wlroots before 0.20.2 Out-of-Bounds Read via read_surface_class() in xwm.c

- Severity: Medium 4.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-11-03T16:26:55.569Z
- Modified: 2026-11-12T21:30:23.870Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- wlroots wlroots: before 0.20.2

## Every score

- VulnCheck: CVSS:4.0 4.8 Medium `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`
- VulnCheck: CVSS:3.1 3.3 Low `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)
- <https://www.vulncheck.com/advisories/wlroots-before-0.20.2-out-of-bounds-read-via-read-surface-class-in-xwm-c> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-121604](https://www.cve.org/CVERecord?id=CVE-2026-121604), CVE Terms of Use, modified 2026-11-07
- NVD: [CVE-2026-121604](https://nvd.nist.gov/vuln/detail/CVE-2026-121604), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-121604 · Whole record: https://cve.day/CVE-2026-121604.json · Rebuilt by cve.day 2026-11-25T22:59:48.556Z
