{"id":"CVE-2026-121604","aliases":["DEBIAN-CVE-2026-121604","EUVD-2026-116039","GHSA-ww5w-hv3v-hp9v","UBUNTU-CVE-2026-121604"],"status":"published","title":"wlroots before 0.20.2 Out-of-Bounds Read via read_surface_class() in xwm.c","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.","severity":{"version":"4.0","score":4.8,"vector":"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00111,"percentile":0.01344,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2026-11-03T16:26:55Z","modified":"2026-11-06T17:29:22Z","fixes":[{"ecosystem":"Debian:14","package":"wlroots","fixed_in":["0.20.2-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"wlroots","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.15.1-6","0.16.0-1","0.16.0-2","0.16.1-1","0.16.1-2","0.16.2-1","0.16.2-2","0.16.2-3","0.17.0-1~exp1","0.17.1-1","0.17.1-2","0.17.1-2.1","0.17.1-2.1~exp1","0.17.2-1","0.17.2-2","0.17.3-1","0.17.3-2","0.17.4-1","0.18.0-1","0.18.0-2","0.18.1-1","0.18.2-1","0.18.2-2","0.18.2-3","0.19.0-1","0.19.0-2","0.19.0~rc1-1","0.19.0~rc2-1","0.19.1-1","0.19.2-1","0.19.3-1","0.20.0-1","0.20.0-2","0.20.0~rc1-1","0.20.0~rc2-1","0.20.0~rc3-1","0.20.0~rc5-1","0.20.1-1","0.20.2-1"]},{"source":"osv","ecosystem":"Debian:13","package":"wlroots","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.2-3","0.19.0-1","0.19.0-2","0.19.0~rc1-1","0.19.0~rc2-1","0.19.1-1","0.19.2-1","0.19.3-1","0.20.0-1","0.20.0-2","0.20.0~rc1-1","0.20.0~rc2-1","0.20.0~rc3-1","0.20.0~rc5-1","0.20.1-1","0.20.2-1"]},{"source":"osv","ecosystem":"Debian:14","package":"wlroots","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.2-1"}]}],"versions":["0.18.2-3","0.19.0-1","0.19.0-2","0.19.0~rc1-1","0.19.0~rc2-1","0.19.1-1","0.19.2-1","0.19.3-1","0.20.0-1","0.20.0-2","0.20.0~rc1-1","0.20.0~rc2-1","0.20.0~rc3-1","0.20.0~rc5-1","0.20.1-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"wlroots","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.0-2","0.10.0-1","0.10.0-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"wlroots","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.0-2ubuntu1","0.14.1-5","0.15.1-1","0.15.1-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"wlroots","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.16.2-3","0.17.1-2","0.17.1-2.1","0.17.1-2.1build1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"wlroots","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19.2-1","0.19.3-1","0.20.1-1","0.20.2-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"wlroots","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.2-3","0.19.1-1build1","0.19.2-1"]}],"products":[{"vendor":"wlroots","product":"wlroots"}],"references":[{"url":"https://gitlab.freedesktop.org/wlroots/wlroots/-/work_items/4092","tags":["issue-tracking","report"]},{"url":"https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5374","tags":["issue-tracking","report"]},{"url":"https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/851cdd0089004884bd85a95ad21f04009cb5a53a","tags":["patch","fix","report"]},{"url":"https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/4412992469540b1d578cb94a5cd4e6e5829812dc","tags":["patch","fix","report"]},{"url":"https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.20.2","tags":["release-notes","advisory","report"]},{"url":"https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/0.20.1/xwayland/xwm.c#L661-L678","tags":["technical-description","article","report"]},{"url":"https://www.vulncheck.com/advisories/wlroots-before-0.20.2-out-of-bounds-read-via-read-surface-class-in-xwm-c","tags":["third-party-advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121604","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-ww5w-hv3v-hp9v"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121604.json","tags":["advisory"]},{"url":"https://gitlab.freedesktop.org/wlroots/wlroots","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-121604","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-121604","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-121604","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-121604","title":"wlroots before 0.20.2 Out-of-Bounds Read via read_surface_class() in xwm.c","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.","status":"published","published":"2026-11-03T16:26:55.569Z","modified":"2026-11-07T03:14:36.532Z","cvss":[{"version":"4.0","score":4.8,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"cna"}],"cwes":["CWE-125"],"updated_at":"2026-11-07T04:32:31.343254Z"}],"euvd":[{"id":"EUVD-2026-116039","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.","status":"published","published":"2026-11-03T16:26:55Z","modified":"2026-11-07T03:14:36Z","cvss":[{"version":"4.0","score":4.8,"vector":"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","level":"medium"}],"updated_at":"2026-11-07T04:08:16.282099Z"}],"ghsa":[{"id":"GHSA-ww5w-hv3v-hp9v","title":"wlroots before 0.20.2 contains an out-of-bounds read vulnerability in read_surface_class() in...","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.","status":"published","published":"2026-11-03T18:31:09Z","modified":"2026-11-03T18:31:18Z","cvss":[{"version":"4.0","score":4.8,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-125"],"updated_at":"2026-11-03T19:01:33.107181Z"}],"nvd":[{"id":"CVE-2026-121604","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.","status":"published","published":"2026-11-03T17:18:11.737Z","modified":"2026-11-07T04:17:26.52Z","cvss":[{"version":"4.0","score":4.8,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"secondary"}],"cwes":["CWE-125"],"updated_at":"2026-11-07T07:04:25.467195Z"}],"osv":[{"id":"CVE-2026-121604","title":"wlroots before 0.20.2 Out-of-Bounds Read via read_surface_class() in xwm.c","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.","status":"published","published":"2026-11-03T16:26:55.569Z","modified":"2026-11-08T07:03:59.889416218Z","cvss":[{"version":"4.0","score":4.8,"vector":"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","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-08T02:57:14.556074Z"},{"id":"DEBIAN-CVE-2026-121604","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.","status":"published","published":"2026-11-03T17:18:11.737Z","modified":"2026-11-07T10:01:23.31226541Z","cvss":[{"version":"4.0","score":4.8,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-11-07T10:13:34.340634Z"},{"id":"UBUNTU-CVE-2026-121604","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.","status":"published","published":"2026-11-03T17:18:00Z","modified":"2026-11-05T11:46:32.353762196Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"},{"version":"4.0","score":4.8,"vector":"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","level":"medium"}],"updated_at":"2026-11-05T13:30:15.321876Z"}]}}
