Every CVESearch/Get API key

CVE-2021-0511

In Dex2oat of dex2oat.cc, there is a possible way to inject bytecode into an app due to improper...

7.8 HighPublic exploitFix available

CVE-2021-0511 is a high vulnerability (CVSS 7.8) in Google Android, published June 1, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.22%, the 12th percentile. Fixed in platform/art 9:2021-06-01.

What does this mean?
Severity
7.8 HighCVSS 3.1, NVD
Exploit chance
0.22%EPSS, 12th percentile
Exploitation
None known1 public exploit
Fixed in
9:2021-06-01platform/art +2 more

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

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.22%Down 0.2 points since Jun 22, 2021
90%50%10%1%

Affected products

Affected packages

Affected packages
PackageAffectedFixed
platform/art
Android
9:0 up to 9:2021-06-01, plus listed versions
9
9:2021-06-01
platform/art
Android
10:0 up to 10:2021-06-01, plus listed versions
10
10:2021-06-01
platform/art
Android
11:0 up to 11:2021-06-01, plus listed versions
11
11:2021-06-01

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubTrinadh465/platform_art_AOSP10_r33_CVE-2021-05112022-04-30

What each source reports

NVD Score used7.8

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

Record
CVE-2021-0511
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.6 MediumAV:L/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-20
Updated
2026-11-02
CVE ListNo score

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

Record
CVE-2021-0511
Updated
2026-11-02
EUVDEUVD-2021-3130No score

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

Record
EUVD-2021-3130
Updated
2026-11-03
GitHub AdvisoriesGHSA-mhw4-w4wq-p4wx7.8

In Dex2oat of dex2oat.cc, there is a possible way to inject bytecode into an app due to improper...

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

Record
GHSA-mhw4-w4wq-p4wx
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-20
Updated
2026-11-02
OSVASB-A-178055795No score

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.

Record
ASB-A-178055795
Updated
2026-11-10

History

History
RecordedChangedSources
factsOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

MoveEnter Open