CVE-2021-0509
In various functions of CryptoPlugin.cpp, there is a possible use after free due to a race...
In various functions of CryptoPlugin.cpp, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11 Android-8.1Android ID: A-176444161
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.0
In various functions of CryptoPlugin.cpp, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11 Android-8.1Android ID: A-176444161
- Record
CVE-2021-0509- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 4.4 Medium
AV:L/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-362, CWE-416
- Updated
- 2026-11-02
CVE List No score
In various functions of CryptoPlugin.cpp, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11 Android-8.1Android ID: A-176444161
- Record
CVE-2021-0509- Updated
- 2026-11-02
EUVDEUVD-2021-3128 No score
In various functions of CryptoPlugin.cpp, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11 Android-8.1Android ID: A-176444161
- Record
EUVD-2021-3128- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c7q8-63qc-28xc No score
In various functions of CryptoPlugin.cpp, there is a possible use after free due to a race...
In various functions of CryptoPlugin.cpp, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11 Android-8.1Android ID: A-176444161
- Record
GHSA-c7q8-63qc-28xc- Weakness
- CWE-362
- Updated
- 2026-11-02
OSVASB-A-176444161 No score
In various functions of CryptoPlugin.cpp, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
- Record
ASB-A-176444161- Updated
- 2026-11-05
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
platform/hardware/interfacesAndroid |
8.1:0 up to 8.1:2021-06-01, plus listed versions 8.1 |
8.1:2021-06-01 |
platform/frameworks/avAndroid |
9:0 up to 9:2021-06-01, plus listed versions 9 |
9:2021-06-01 |
platform/hardware/interfacesAndroid |
9:0 up to 9:2021-06-01, plus listed versions 9 |
9:2021-06-01 |
platform/frameworks/avAndroid |
10:0 up to 10:2021-06-01, plus listed versions 10 |
10:2021-06-01 |
platform/hardware/interfacesAndroid |
10:0 up to 10:2021-06-01, plus listed versions 10 |
10:2021-06-01 |
platform/frameworks/avAndroid |
11:0 up to 11:2021-06-01, plus listed versions 11 |
11:2021-06-01 |
platform/hardware/interfacesAndroid |
11:0 up to 11:2021-06-01, plus listed versions 11 |
11:2021-06-01 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | Trinadh465/frameworks_av_AOSP10_r33_CVE-2021-0509 | 2022-04-21 |
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-0509 is a high vulnerability (CVSS 7.0) in Google Android, published June 1, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.17%, the 6th percentile. Fixed in platform/hardware/interfaces 8.1:2021-06-01.
References
source.android.com/security/bulletin/2021-06-01
nvd.nist.gov/vuln/detail/CVE-2021-0509
github.com/advisories/GHSA-c7q8-63qc-28xc
android.googlesource.com/platform/frameworks/av/+/79a6ffbdaf14cfbb597efd8545ba401f1da28a4f
android.googlesource.com/platform/hardware/interfaces/+/a4e76aab230a565dd0cef11e2e6e2d782b685327