CVE-2026-121604 PUBLISHED

wlroots before 0.20.2 Out-of-Bounds Read via read_surface_class() in xwm.c

Assigner: VulnCheck
Reserved: 03.11.2026 Published: 03.11.2026 Updated: 03.11.2026

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.

Metrics

CVSS 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
CVSS Score: 4.8

Product Status

Vendor wlroots
Product wlroots
Versions Default: unaffected
  • affected from 0 to 0.20.2 (excl.)

Credits

  • Tristan Madani (Talence Security) finder
  • Simon Ser remediation developer

References

Problem Types

  • Out-of-bounds Read CWE