CVE-2021-0511

HIGH

Android - Local Privilege Escalation via Dex2oat Bytecode Injection

Title source: llm
STIX 2.1

Exploitation Summary

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

AI-analyzed exploit summary This repository contains a functional exploit PoC for CVE-2021-0511, targeting a vulnerability in Android's ART runtime. The exploit leverages a hash collision in the DexCache to trigger a use-after-free condition, potentially leading to arbitrary code execution.

Description

In Dex2oat of dex2oat.cc, there is a possible way to inject bytecode into an app due to improper input validation. 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-11Android ID: A-178055795

Exploits (1)

nomisec WORKING POC
by Trinadh465 · poc
https://github.com/Trinadh465/platform_art_AOSP10_r33_CVE-2021-0511

This repository contains a functional exploit PoC for CVE-2021-0511, targeting a vulnerability in Android's ART runtime. The exploit leverages a hash collision in the DexCache to trigger a use-after-free condition, potentially leading to arbitrary code execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Android ART runtime (AOSP10_r33)
No auth needed
Prerequisites: Access to a vulnerable Android device with ART runtime AOSP10_r33
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.8
EPSS 0.0022
EPSS Percentile 12.0%
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-20
Status published
Products (3)
google/android 9.0
google/android 10.0
google/android 11.0
Published Jun 21, 2021
Tracked Since Feb 18, 2026