Permanent denial of service via PackageManager#setPackagesSuspended with invalid SuspendParams.launcherExtras in platform/frameworks/base

platform/frameworks/base Updated 02 Oct 2025

Summary

01/12/2023
Yes i
High
Not published

CVE-2023-40074: In saveToXml of PersistableBundle.java, invalid data could lead to local persistent denial of service with no additional execution privileges needed. Affects platform/frameworks/base across 5 version ranges.

>= 11:0, < 11:2023-12-01 >= 12:0, < 12:2023-12-01 >= 12L:0, < 12L:2023-12-01 >= 13:0, < 13:2023-12-01 >= 14-next:0, < 14-next:2023-12-01

Fixed in 14-next:2023-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 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 platform/frameworks/base package is a fundamental component of the Android operating system. It provides core functionalities and APIs for various system services and applications. One of its key features is the PackageManager, which manages the installation, upgrade, and removal of applications on an Android device. This package is vulnerable to a permanent denial of service (DoS) attack when using the setPackagesSuspended method with invalid SuspendParams.launcherExtras.

Vulnerability Detail

The vulnerability arises from a flaw in the saveToXml function of PersistableBundle.java. By providing invalid data to the SuspendParams.launcherExtras parameter, an attacker can trigger a local persistent DoS attack without requiring additional execution privileges or user interaction. This vulnerability affects Android versions 11, 12, 12L, and 13. Exploitation of this vulnerability can lead to the unavailability of critical system services and applications, causing significant disruption to the device's functionality.

How To Fix

Minimum fixed version

14-next:2023-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

The vulnerability in the platform/frameworks/base package allows for a permanent denial of service attack on Android devices. It is crucial for developers to update their applications to the patched version of the package and validate input data to prevent exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/frameworks/base →

Share this vulnerability

FAQ

This vulnerability can result in a permanent denial of service (DoS) attack on an Android device, rendering critical system services and applications unavailable.

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

This vulnerability affects Android versions 11, 12, 12L, and 13.

This vulnerability is classified as high severity.

More information about this vulnerability can be found in the Android Open Source Vulnerability database at the following source: https://storage.googleapis.com/android-osv/ASB-A-247513680.json

Related vulnerabilities

Recent vulnerabilities recorded for platform/frameworks/base.

How To Fix

Minimum fixed version

14-next:2023-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