CVE-2026-58852 in Android
Summary
by MITRE • 12/01/2026
In addOverlayWindowLocked of DreamOverlayService.java, there is a possible permission bypass due to a missing permission check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Analysis
by VulDB Data Team • 12/01/2026
The vulnerability identified within the Android operating system's DreamOverlayService component represents a critical security flaw rooted in improper access control mechanisms. Specifically, the issue resides in the addOverlayWindowLocked method found in the DreamOverlayService.java file. This function is responsible for managing overlay windows that are displayed during the device's dream mode or screen saver state. The core technical deficiency is the absence of a mandatory permission check before allowing an application to register and display such overlays. In Android architecture, overlay permissions are strictly regulated because they allow applications to draw content on top of other apps, potentially intercepting user input or displaying deceptive interfaces that mimic system dialogs or legitimate application windows. By failing to verify whether the requesting entity possesses the necessary android.permission.SYSTEM_ALERT_WINDOW permission or equivalent elevated privileges, the service inadvertently grants unauthorized access capabilities to any component capable of invoking this method.
This architectural oversight facilitates a local escalation of privilege attack vector where an attacker can bypass standard security boundaries without requiring additional execution privileges beyond what is typically granted to installed applications. The exploitation does not require user interaction, which significantly lowers the barrier for entry and increases the likelihood of successful compromise. An adversary could develop or utilize existing malicious software that triggers this specific code path during the device's idle state. Since no user action such as clicking a prompt or granting explicit consent is needed, the attack can proceed silently in the background. This characteristic makes it particularly dangerous for scenarios involving automated attacks or when users are not actively monitoring their screen activity, allowing the malicious overlay to establish persistence and control without detection by the end-user.
The operational impact of this vulnerability extends beyond simple privilege escalation. Once an attacker gains the ability to draw overlays with elevated privileges, they can execute a variety of hostile actions that compromise user privacy and device integrity. These include phishing attacks where fake login screens are superimposed over legitimate applications to steal credentials, keylogging by capturing touch events intended for other apps, or displaying misleading information to manipulate user decisions. Furthermore, the ability to bypass permission checks undermines the fundamental trust model of the Android sandboxing environment. It allows malicious code to operate with a level of visibility and interactivity that should be restricted to system-level components or explicitly authorized applications, thereby eroding the security posture of the entire device ecosystem.
To mitigate this risk, developers must implement rigorous input validation and access control checks within the DreamOverlayService.java file before any overlay window is added. This involves verifying that the calling application holds the appropriate permissions defined by Android's security model, specifically ensuring compliance with requirements for drawing over other apps. Security patches should enforce these checks at the earliest possible stage in the request lifecycle to prevent unauthorized instances from being registered. Additionally, system integrators and device manufacturers should ensure that their builds include updated versions of the framework where this logic error has been corrected. For users, maintaining up-to-date operating systems is crucial as it ensures they receive patches addressing such low-level privilege escalation flaws. Monitoring for unusual overlay activity through security applications can also provide an additional layer of defense against exploitation attempts targeting this specific vulnerability class.
From a classification perspective, this flaw aligns with CWE-269 Improper Privilege Management and CWE-732 Incorrect Permission Assignment for Critical Resource within the Common Weakness Enumeration framework. It is categorized under MITRE ATT&CK technique T1055 Process Injection or more accurately in mobile contexts as part of privilege escalation vectors often associated with unauthorized access to system resources. The lack of proper authorization checks allows an unprivileged actor to perform actions reserved for higher-privilege entities, which is a classic example of broken access control leading to significant security breaches. Addressing this issue requires not only fixing the specific code defect but also reinforcing broader patterns of permission verification across all services that interact with sensitive system features like overlay windows.