CVE-2022-20006: Lock Screen Bypass in Android platform/frameworks/base

platform/frameworks/base Updated 02 Oct 2025

Summary

01/06/2022
Yes i
High
Not published

CVE-2022-20006: In several functions of KeyguardServiceWrapper.java and related files,, there is a possible way to briefly view what's under the lockscreen due to a race condition. Affects platform/frameworks/base across 4 version ranges.

>= 10:0, < 10:2022-06-01 >= 11:0, < 11:2022-06-01 >= 12:0, < 12:2022-06-01 >= 12L:0, < 12L:2022-06-01

Fixed in 10:2022-06-01. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Android platform/frameworks/base package is a fundamental component of the Android operating system. It provides core functionalities and services for the system, including the lock screen feature. The lock screen is designed to secure the device and prevent unauthorized access. However, a vulnerability has been identified in several functions of KeyguardServiceWrapper.java and related files, which allows for a brief view of hidden contents under the lock screen due to a race condition. This vulnerability could potentially lead to local privilege escalation if a Guest user is enabled, without requiring additional execution privileges. Exploitation of this vulnerability does not require user interaction.

Vulnerability Detail

The vulnerability (CVE-2022-20006) in the Android platform/frameworks/base package allows an attacker to briefly view hidden contents under the lock screen. This is possible due to a race condition in certain functions of KeyguardServiceWrapper.java and related files. By exploiting this vulnerability, an attacker with access to a Guest user account can escalate their privileges locally. This means they can gain unauthorized access to sensitive information or perform actions that should be restricted to higher privileged users. The vulnerability affects Android versions 10, 11, 12, and 12L.

How To Fix

Minimum fixed version

10:2022-06-01

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability (CVE-2022-20006) in the Android platform/frameworks/base package allows for a brief view of hidden contents under the lock screen, potentially leading to local privilege escalation. It is recommended to apply the provided fix from the Android Open Source Project (AOSP) and update the affected Android devices to a version that includes this fix. Avoiding the enabling of Guest user accounts can also help mitigate the risk. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for platform/frameworks/base →

Share this vulnerability

FAQ

The vulnerability allows an attacker with a Guest user account to briefly view hidden contents under the lock screen and potentially escalate their privileges locally.

No, exploitation of this vulnerability does not require user interaction.

Android versions 10, 11, 12, and 12L are affected by this vulnerability.

To fix this vulnerability, update the affected Android devices to a version that includes the provided fix from the Android Open Source Project (AOSP).

No specific workaround has been mentioned for this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for platform/frameworks/base.

How To Fix

Minimum fixed version

10:2022-06-01

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback