CVE-2021-0508
In various functions of DrmPlugin.cpp, there is a possible use after free due to a race condition...
In various functions of DrmPlugin.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-8.1 Android-9 Android-10 Android-11Android ID: A-176444154
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 DrmPlugin.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-8.1 Android-9 Android-10 Android-11Android ID: A-176444154
- Record
CVE-2021-0508- 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
- 6.9 Medium
AV:L/AC:M/Au:N/C:C/I:C/A:C - Weakness
- CWE-362, CWE-416
- Updated
- 2026-11-02
CVE List No score
In various functions of DrmPlugin.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-8.1 Android-9 Android-10 Android-11Android ID: A-176444154
- Record
CVE-2021-0508- Updated
- 2026-11-02
EUVDEUVD-2021-3127 No score
In various functions of DrmPlugin.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-8.1 Android-9 Android-10 Android-11Android ID: A-176444154
- Record
EUVD-2021-3127- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-w3c4-7mf3-vq4q No score
In various functions of DrmPlugin.cpp, there is a possible use after free due to a race condition...
In various functions of DrmPlugin.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-8.1 Android-9 Android-10 Android-11Android ID: A-176444154
- Record
GHSA-w3c4-7mf3-vq4q- Weakness
- CWE-362
- Updated
- 2026-11-02
OSVASB-A-176444154 No score
In various functions of DrmPlugin.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-176444154- Updated
- 2026-11-09
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
platform/frameworks/avAndroid |
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/frameworks/avAndroid |
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 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | nanopathi/frameworks_av_AOSP10_r33_CVE-2021-0508 | 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-0508 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.18%, the 7th percentile. Fixed in platform/frameworks/av 8.1:2021-06-01.