CVE-2021-0511
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
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
What each source reports
NVD Score used
7.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 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 4.6 Medium
AV:L/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No 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-3130 No 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-p4wx
7.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 High
CVSS: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-178055795 No 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-05
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
platform/artAndroid |
9:0 up to 9:2021-06-01, plus listed versions 9 |
9:2021-06-01 |
platform/artAndroid |
10:0 up to 10:2021-06-01, plus listed versions 10 |
10:2021-06-01 |
platform/artAndroid |
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.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | Trinadh465/platform_art_AOSP10_r33_CVE-2021-0511 | 2022-04-30 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
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.
References
source.android.com/security/bulletin/2021-06-01
nvd.nist.gov/vuln/detail/CVE-2021-0511
github.com/advisories/GHSA-mhw4-w4wq-p4wx
android.googlesource.com/platform/art/+/7c7cae75a80eece7cf009ea12da644ea7c893c1d
android.googlesource.com/platform/art/+/2c4ee9b7ff3a8ce17ba4e0cfd841eb2027d51619
android.googlesource.com/platform/art/+/c802c3713270b363240dc48409a66c5c35601281