CVE-2021-0339
In loadAnimation of WindowContainer.java, there is a possible way to keep displaying a malicious...
In loadAnimation of WindowContainer.java, there is a possible way to keep displaying a malicious app while a target app is brought to the foreground. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-10 Android-8.1 Android-9Android ID: A-145728687
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used 7.8
In loadAnimation of WindowContainer.java, there is a possible way to keep displaying a malicious app while a target app is brought to the foreground. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-10 Android-8.1 Android-9Android ID: A-145728687
- Record
CVE-2021-0339- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 9.3 High
AV:N/AC:M/Au:N/C:C/I:C/A:C - Weakness
- CWE-754
- Updated
- 2026-11-02
CVE ListNo score
In loadAnimation of WindowContainer.java, there is a possible way to keep displaying a malicious app while a target app is brought to the foreground. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-10 Android-8.1 Android-9Android ID: A-145728687
- Record
CVE-2021-0339- Updated
- 2026-11-02
EUVDEUVD-2021-2958No score
In loadAnimation of WindowContainer.java, there is a possible way to keep displaying a malicious app while a target app is brought to the foreground. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-10 Android-8.1 Android-9Android ID: A-145728687
- Record
EUVD-2021-2958- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c6h8-w7qx-qj83No score
In loadAnimation of WindowContainer.java, there is a possible way to keep displaying a malicious...
In loadAnimation of WindowContainer.java, there is a possible way to keep displaying a malicious app while a target app is brought to the foreground. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.Product: AndroidVersions: Android-10 Android-8.1 Android-9Android ID: A-145728687
- Record
GHSA-c6h8-w7qx-qj83- Weakness
- CWE-754
- Updated
- 2026-11-02
OSVASB-A-145728687No score
In loadAnimation of WindowContainer.java, there is a possible way to keep displaying a malicious app while a target app is brought to the foreground. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.
- Record
ASB-A-145728687- Updated
- 2026-11-09
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
platform/frameworks/baseAndroid | 8.0:0 up to 8.0:2021-02-01, plus listed versions 8.0 | 8.0:2021-02-01 |
platform/frameworks/baseAndroid | 8.1:0 up to 8.1:2021-02-01, plus listed versions 8.1 | 8.1:2021-02-01 |
platform/frameworks/baseAndroid | 9:0 up to 9:2021-02-01, plus listed versions 9 | 9:2021-02-01 |
platform/frameworks/baseAndroid | 10:0 up to 10:2021-02-01, plus listed versions 10 | 10:2021-02-01 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | nanopathi/framework_base_AOSP10_r33_CVE-2021-0339 | 2022-04-25 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-0339 is a high vulnerability (CVSS 7.8) in Google Android, published February 1, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.76%, the 55th percentile. Fixed in platform/frameworks/base 8.0:2021-02-01.
References
source.android.com/security/bulletin/2021-02-01
nvd.nist.gov/vuln/detail/CVE-2021-0339
github.com/advisories/GHSA-c6h8-w7qx-qj83
android.googlesource.com/platform/frameworks/base/+/36bcc77337814d4d36e2b10eb062ac417d91611e
android.googlesource.com/platform/frameworks/base/+/4236b3e88fe444e2fbec7aa564fccf8b57c071dd
android.googlesource.com/platform/frameworks/base/+/6de34f8ee714691dbc3c089245bf832006826ebe
android.googlesource.com/platform/frameworks/base/+/8669ef385780b8415412407deec85539a1e7db98
android.googlesource.com/platform/frameworks/base/+/ee11625bb707c3512d4e44a35cc85b0bd14a2478