CVE-2023-40116: SourceRectHint Animation in PIP Component can cause restriction bypass in Android Frameworks Base

platform/frameworks/base Updated 02 Oct 2025

Summary

01/10/2023
Yes i
High
Not published

CVE-2023-40116: In onTaskAppeared of PipTaskOrganizer.java, there is a possible way to bypass background activity launch restrictions due to a logic error in the code. Affects platform/frameworks/base across 3 version ranges.

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

Fixed in 11:2023-10-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

Android Frameworks Base is a core component of the Android operating system that provides essential functionalities and services to other system components and applications. It includes various libraries, APIs, and system services that enable the development and execution of Android applications. The Picture-in-Picture (PIP) component is responsible for displaying a small, resizable window for video playback or other content while allowing users to continue interacting with other apps. This vulnerability affects the PIP component in Android Frameworks Base.

Vulnerability Detail

The vulnerability (CVE-2023-40116) originates from a logic error in the code of the PipTaskOrganizer.java file, specifically in the onTaskAppeared function. This flaw allows for the bypassing of background activity launch restrictions, potentially leading to a local escalation of privilege. Exploiting this vulnerability does not require any additional execution privileges or user interaction. The consequences of successful exploitation could include unauthorized access to sensitive information or the ability to perform malicious actions with elevated privileges.

How To Fix

Minimum fixed version

11:2023-10-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

No specific workaround has been provided for this vulnerability. It is recommended to apply the patches as mentioned in the 'how_to_fix' section.

Conclusion

The vulnerability (CVE-2023-40116) in the SourceRectHint Animation in the PIP Component of Android Frameworks Base allows for the bypassing of background activity launch restrictions, potentially leading to a local escalation of privilege. It is crucial to apply the provided patches to mitigate the risk associated with this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/frameworks/base →

Share this vulnerability

FAQ

Android Frameworks Base is a core component of the Android operating system that provides essential functionalities and services to other system components and applications.

The Picture-in-Picture (PIP) component is responsible for displaying a small, resizable window for video playback or other content while allowing users to continue interacting with other apps.

The vulnerability allows for the bypassing of background activity launch restrictions, potentially leading to a local escalation of privilege. Successful exploitation could result in unauthorized access to sensitive information or the ability to perform malicious actions with elevated privileges.

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

Related vulnerabilities

Recent vulnerabilities recorded for platform/frameworks/base.

How To Fix

Minimum fixed version

11:2023-10-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