Skip to main content

wlroots EUVDEUVD-2026-116039

| CVE-2026-121604 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-03 VulnCheck GHSA-ww5w-hv3v-hp9v
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local X11 client session under XWayland
  2. Exploit
    Set WM_CLASS with unterminated class string
  3. Execution
    Trigger out-of-bounds read in read_surface_class()
  4. Impact
    Receive leaked compositor heap bytes as app_id over IPC

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the wlroots-based compositor to have XWayland support active (the vulnerable code path is read_surface_class() in xwayland/xwm.c). The attacker must be a local X11 client within an existing session (PR:L) capable of setting a WM_CLASS property crafted with a NUL-terminated instance string but a non-NUL-terminated class string. Limiting factors: local access only (AV:L, no remote exploitation), the compositor must use wlroots earlier than 0.20.2, and the impact is confined to disclosure of a bounded quantity of compositor heap bytes surfaced as the window class/app_id - there is no integrity or availability impact and no user interaction is required.

Impact

This is a genuine but low-urgency issue, not a high-severity emergency. The input CVSS 4.0 base score is 4.8 (medium) with vector AV:L/AC:L/AT:N/PR:L/UI:N and impact limited to VC:L (low confidentiality only; VI:N/VA:N - no integrity or availability impact), meaning exploitation requires local access and an already-authenticated low-privilege X11 client, and yields only a bounded heap-memory leak. No EPSS score is provided in the input, so exploitation probability cannot be quantified. KEV status is not listed (no CISA active-exploitation signal), and no public exploit code is identified among the references. The vuln.today decision label is 'this_month,' consistent with routine patching rather than crisis response. The signals are internally consistent: a local-vector, low-privilege, information-disclosure flaw with a vendor patch available. The main caveat is the absence of an EPSS value, so widespread-vs-targeted exploitation likelihood is unverified; however, the AV:L local requirement inherently caps real-world reach to attackers who already have a session on the host.

Exploit ScenarioDerived

A local user with an active session on a machine running a wlroots-based Wayland compositor with XWayland enabled launches an X11 client that sets a crafted WM_CLASS property - a NUL-terminated instance string followed by an unterminated class string. The compositor's read_surface_class() over-reads past the buffer and returns adjacent compositor heap bytes to the client as the window class/app_id over IPC, leaking memory contents. No public exploit code is identified, though the trigger is straightforward for any local X11 client.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 03, 2026

An out-of-bounds read in wlroots's XWayland window-management code (read_surface_class() in xwayland/xwm.c) lets a local X11 client leak a small amount of compositor heap memory by setting a WM_CLASS property whose instance string is NUL-terminated but whose class string is not. All wlroots releases before 0.20.2 are affected, but only when the compositor runs with XWayland support active and an attacker already has a local client inside that session. The over-read bytes are surfaced back as the window class or app_id over IPC, giving confidentiality-only exposure with no integrity or availability impact; the vendor shipped a fix in 0.20.2, and no public exploit code was identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade wlroots to 0.20.2 (release notes at https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.20.2), which incorporates the fixes in commits 851cdd0089004884bd85a95ad21f04009cb5a53a and 4412992469540b1d578cb94a5cd4e6e5829812dc from merge request 5374; compositors that vendor or statically link wlroots must be rebuilt against the patched library rather than updated in place. Where an immediate upgrade is not possible, disabling XWayland in the compositor configuration removes the vulnerable read_surface_class() code path entirely, at the cost of losing X11 application support for that session, and narrowing which local clients can connect to the XWayland display limits who can reach the parser but does not fix the underlying over-read. Because exploitation requires an existing local X11 client, this is a low-urgency item suitable for the normal monthly patch cycle rather than an emergency change.

Affected VersionsENISA

wlroots 0 <0.20.2

Affected Packages

euvd wlroots fix: 0.20.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

wlroots is the compositor library underlying many Wayland desktops, and its xwayland/xwm.c module implements the X11 window manager that manages XWayland-hosted windows. The affected routine, read_surface_class(), parses the ICCCM WM_CLASS property, which by convention carries two consecutive NUL-terminated strings (instance and class). The code in the 0.20.1 tree (lines 661-678) validates the instance string terminator but does not verify that the class string is likewise NUL-terminated before using it, a CWE-125 out-of-bounds read. When a client supplies a property with a terminated instance and an unterminated class, the parser continues reading past the end of the property buffer into adjacent compositor heap, and those over-read bytes are subsequently exposed as the window class or app_id through IPC. The flaw sits purely on the X11-side parsing path, so it is reachable only when XWayland is enabled; the trigger otherwise requires a local client able to set WM_CLASS, and the disclosed data is limited to whatever heap bytes follow the property.

Know when Wlroots gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 3.3 LOW

Requires an authenticated local X11 client so AV:L and PR:L; reliable trigger gives AC:L; only bounded heap bytes are leaked, so C:L with I:N/A:N.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

Prevalence
Medium
compositor library behind Sway, Hyprland and many Wayland desktops
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy