{"id":"CVE-2026-121604","state":"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.","publishedAt":"2026-11-03T16:26:55.569Z","updatedAt":"2026-11-07T03:14:36.532Z","severity":{"score":4.8,"label":"Medium","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["wlroots wlroots"],"affected":[{"vendor":"wlroots","product":"wlroots","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.20.2","versionType":"semver"}],"collectionURL":"https://gitlab.freedesktop.org/wlroots/wlroots","repo":"https://gitlab.freedesktop.org/wlroots/wlroots"}],"references":["https://gitlab.freedesktop.org/wlroots/wlroots/-/work_items/4092","https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5374","https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/851cdd0089004884bd85a95ad21f04009cb5a53a","https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/4412992469540b1d578cb94a5cd4e6e5829812dc","https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.20.2","https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/0.20.1/xwayland/xwm.c#L661-L678","https://www.vulncheck.com/advisories/wlroots-before-0.20.2-out-of-bounds-read-via-read-surface-class-in-xwm-c"],"weaknesses":["CWE-125"],"ingestedAt":"2026-11-07T03:20:06.539Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/121xxx/CVE-2026-121604.json","commit":"35c2b15ddf52a4e370d9bbe2b05f22a418b30967","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-121604","state":"PUBLISHED","datePublished":"2026-11-03T16:26:55.569Z","dateUpdated":"2026-11-07T03:14:36.532Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-03T16:19:16.465Z"},"containers":{"cna":{"title":"wlroots before 0.20.2 Out-of-Bounds Read via read_surface_class() in xwm.c","descriptions":[{"lang":"en","value":"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":[{"vendor":"wlroots","product":"wlroots","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.20.2","versionType":"semver"}],"collectionURL":"https://gitlab.freedesktop.org/wlroots/wlroots","repo":"https://gitlab.freedesktop.org/wlroots/wlroots"}],"references":[{"url":"https://gitlab.freedesktop.org/wlroots/wlroots/-/work_items/4092","tags":["issue-tracking"]},{"url":"https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5374","tags":["issue-tracking"]},{"url":"https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/851cdd0089004884bd85a95ad21f04009cb5a53a","tags":["patch"]},{"url":"https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/4412992469540b1d578cb94a5cd4e6e5829812dc","tags":["patch"]},{"url":"https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.20.2","tags":["release-notes"]},{"url":"https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/0.20.1/xwayland/xwm.c#L661-L678","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/wlroots-before-0.20.2-out-of-bounds-read-via-read-surface-class-in-xwm-c","name":"VulnCheck Advisory: wlroots before 0.20.2 Out-of-Bounds Read via read_surface_class() in xwm.c","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":3.3,"baseSeverity":"LOW"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"Out-of-bounds Read","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-03T16:26:55.569Z"},"datePublic":"2026-05-21T00:00:00.000Z","credits":[{"lang":"en","value":"Tristan Madani (Talence Security)","type":"finder"},{"lang":"en","value":"Simon Ser","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-07T03:14:25.336787Z","id":"CVE-2026-121604","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-07T03:14:36.532Z"}}]}}}