CVE-2022-20476: Permanent denial of service via PackageManager#setComponentEnabledSetting

platform/frameworks/base Updated 02 Oct 2025

Summary

01/12/2022
Yes i
High
Not published

CVE-2022-20476: In setEnabledSetting of PackageManager.java, there is a possible way to get the device into an infinite reboot loop due to resource exhaustion. Affects platform/frameworks/base across 4 version ranges.

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

Fixed in 10:2022-12-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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package under scrutiny is platform/frameworks/base, which is a part of the Android ecosystem. It provides fundamental functionalities and services for the Android operating system. PackageManager.java is a component of this package that manages the installation, upgrade, and removal of applications on the device. It also controls the enabled state of components within the system. This vulnerability specifically affects the setComponentEnabledSetting method in PackageManager.java.

Vulnerability Detail

The setComponentEnabledSetting method in PackageManager.java has a vulnerability that can lead to a permanent denial of service. By exploiting this vulnerability, an attacker can cause the device to enter an infinite reboot loop due to resource exhaustion. This can be achieved without requiring any additional execution privileges or user interaction. The impact of this vulnerability is a local denial of service, rendering the device unusable until the issue is resolved.

How To Fix

Minimum fixed version

10:2022-12-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

In conclusion, the vulnerability CVE-2022-20476 in the PackageManager#setComponentEnabledSetting method of the platform/frameworks/base package can lead to a permanent denial of service. It is crucial to update the affected Android operating system versions to the fixed version to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/frameworks/base →

Share this vulnerability

FAQ

The impact of this vulnerability is a local denial of service, where the device enters an infinite reboot loop due to resource exhaustion.

No, this vulnerability can be exploited without requiring any additional execution privileges.

No, user interaction is not needed for exploitation of this vulnerability.

This vulnerability affects versions 10, 11, 12, and 12L of the Android operating system.

To mitigate the risk of exploitation, it is recommended to update the platform/frameworks/base package to the fixed version.

Related vulnerabilities

Recent vulnerabilities recorded for platform/frameworks/base.

How To Fix

Minimum fixed version

10:2022-12-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