CVE-2021-0520

HIGH

Android 10-11 - Use-After-Free via Race Condition in MemoryFileSystem

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2021-0520. PoCs published by ShaikUsaf, nanopathi.

AI-analyzed exploit summary This repository contains source code files from the Android Open Source Project (AOSP) related to the camera framework, specifically around CVE-2021-0520. The files include implementations of camera functionality but do not contain an explicit exploit or proof-of-concept code.

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

Exploits (2)

nomisec WRITEUP
by ShaikUsaf · poc
https://github.com/ShaikUsaf/frameworks_av_AOSP10_r33_CVE-2021-0520

This repository contains source code files from the Android Open Source Project (AOSP) related to the camera framework, specifically around CVE-2021-0520. The files include implementations of camera functionality but do not contain an explicit exploit or proof-of-concept code.

Classification
Writeup 90%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: Android Open Source Project (AOSP) Camera Framework
No auth needed
Prerequisites: Access to vulnerable Android device · Knowledge of camera framework internals
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WRITEUP
by nanopathi · poc
https://github.com/nanopathi/frameworks_av_AOSP10_r33_CVE-2021-0520

This repository contains source code files from the Android Open Source Project (AOSP) related to the camera framework, specifically focusing on CVE-2021-0520. The code includes implementations of camera functionality but does not contain an explicit exploit or proof-of-concept code.

Classification
Writeup 90%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: Android Open Source Project (AOSP) Camera Framework
No auth needed
Prerequisites: Access to the camera framework in an affected Android device
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (1)

Core 1
Core References
Patch, Vendor Advisory x_refsource_misc
https://source.android.com/security/bulletin/2021-06-01

Scores

CVSS v3 7.0
EPSS 0.0018
EPSS Percentile 7.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-362 CWE-416
Status published
Products (2)
google/android 10.0
google/android 11.0
Published Jun 21, 2021
Tracked Since Feb 18, 2026