CVE-2021-0509

HIGH

Android - Use-After-Free via Race Condition in CryptoPlugin.cpp

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2021-0509. PoCs published by Trinadh465.

AI-analyzed exploit summary This repository contains source code files from the Android Open Source Project (AOSP) related to the camera framework, specifically focusing on CVE-2021-0509. The files include implementations of camera functionality but do not contain exploit code or a proof-of-concept. The content appears to be a snapshot of the vulnerable codebase for analysis purposes.

Description

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

Exploits (1)

nomisec WRITEUP
by Trinadh465 · poc
https://github.com/Trinadh465/frameworks_av_AOSP10_r33_CVE-2021-0509

This repository contains source code files from the Android Open Source Project (AOSP) related to the camera framework, specifically focusing on CVE-2021-0509. The files include implementations of camera functionality but do not contain exploit code or a proof-of-concept. The content appears to be a snapshot of the vulnerable codebase for analysis purposes.

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 · Understanding of AOSP camera framework
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 7.0
EPSS 0.0017
EPSS Percentile 6.4%
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 (4)
google/android 8.1
google/android 9.0
google/android 10.0
google/android 11.0
Published Jun 21, 2021
Tracked Since Feb 18, 2026