CVE-2021-0318

HIGH

Android -<9,8.1,10,11 - Use After Free

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2021-0318. PoCs published by nanopathi.

AI-analyzed exploit summary This repository contains functional exploit code for CVE-2021-0318, targeting Android's frameworks/native components. The code includes modified versions of system commands (e.g., atrace, bugreportz, dumpstate) that demonstrate the vulnerability, likely involving privilege escalation or arbitrary code execution in the context of system services.

Description

In appendEventsToCacheLocked of SensorEventConnection.cpp, there is a possible out of bounds write due to a use-after-free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android; Versions: Android-9, Android-8.1, Android-10, Android-11; Android ID: A-168211968.

Exploits (1)

nomisec WORKING POC
by nanopathi · poc
https://github.com/nanopathi/frameworks_native_AOSP10_r33_CVE-2021-0318

This repository contains functional exploit code for CVE-2021-0318, targeting Android's frameworks/native components. The code includes modified versions of system commands (e.g., atrace, bugreportz, dumpstate) that demonstrate the vulnerability, likely involving privilege escalation or arbitrary code execution in the context of system services.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Android Open Source Project (AOSP) frameworks/native (AOSP10_r33)
No auth needed
Prerequisites: Access to a vulnerable Android device running AOSP10_r33
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (1)

Core 1
Core References
Vendor Advisory x_refsource_confirm
https://source.android.com/security/bulletin/2021-01-01

Scores

CVSS v3 7.8
EPSS 0.0026
EPSS Percentile 16.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416 CWE-787
Status published
Products (4)
google/android 8.1
google/android 9.0
google/android 10.0
google/android 11.0
Published Jan 11, 2021
Tracked Since Feb 18, 2026