CVE-2021-0520: Android - Use After Free
- Cve: CVE-2021-0520
- Name: Android - Use After Free
- Description: In several functions of MemoryFileSystem.cpp and related files, 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-11 Android-10Android ID: A-176237595
- Impact: Local attackers can escalate privileges, potentially leading to full device compromise.
- Remediation: Update to the latest security patches provided by Android for affected versions.
- Vulnerability type: use_after_free
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00175
- Epss percentile: 0.06919
- Assignee: [email protected]
- Published at: 2021-06-21T17:15:08Z
- Age in days: 1982
- Modified at: 2026-06-17T03:30:14Z
- Patch available: yes
- Public exploits total: 2
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-0520
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/ShaikUsaf/frameworks_av_AOSP10_r33_CVE-2021-0520 | poc-in-github | 2022-07-25 |
| https://github.com/nanopathi/frameworks_av_AOSP10_r33_CVE-2021-0520 | poc-in-github | 2022-04-07 |
References
| Url | Source | Tags |
|---|---|---|
| https://source.android.com/security/bulletin/2021-06-01 | nvd | Patch, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| google:android | = 11.0, = 10.0 | no | nvd | /v1/products/google/android |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2022-04-07
- Authentication required: yes
- Exposed hosts: 239
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports