CVE-2021-0509: Use After Free

Published Jun 1, 2021
·
Updated

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.

Affected Software

12 affected componentsFixes available
Google Android=8.1
Google Android=9.0
Google Android=10.0
Google Android=11.0
Google Android
android/platform/hardware/interfaces>=8.1:0<8.1:2021-06-01
8.1:2021-06-01
android/platform/frameworks/av>=9:0<9:2021-06-01
9:2021-06-01
android/platform/hardware/interfaces>=9:0<9:2021-06-01
9:2021-06-01
android/platform/frameworks/av>=10:0<10:2021-06-01
10:2021-06-01
android/platform/hardware/interfaces>=10:0<10:2021-06-01
10:2021-06-01
android/platform/frameworks/av>=11:0<11:2021-06-01
11:2021-06-01
android/platform/hardware/interfaces>=11:0<11:2021-06-01
11:2021-06-01

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade android/platform/hardware/interfaces to a version that resolves this vulnerability.

    Fixed in 8.1:2021-06-01
  2. Upgrade

    Upgrade android/platform/frameworks/av to a version that resolves this vulnerability.

    Fixed in 9:2021-06-01
  3. Upgrade

    Upgrade android/platform/hardware/interfaces to a version that resolves this vulnerability.

    Fixed in 9:2021-06-01
  4. Upgrade

    Upgrade android/platform/frameworks/av to a version that resolves this vulnerability.

    Fixed in 10:2021-06-01
  5. Upgrade

    Upgrade android/platform/hardware/interfaces to a version that resolves this vulnerability.

    Fixed in 10:2021-06-01
  6. Upgrade

    Upgrade android/platform/frameworks/av to a version that resolves this vulnerability.

    Fixed in 11:2021-06-01
  7. Upgrade

    Upgrade android/platform/hardware/interfaces to a version that resolves this vulnerability.

    Fixed in 11:2021-06-01

Event History

Jun 1, 2021
Advisory Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionAffected Software
Jun 7, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
SeverityWeaknessAffected Software
Jun 21, 2021
CVE Published
via MITRE·04:01 PM
Data Sourced
via MITRE·04:01 PM
DescriptionWeakness
Jun 23, 2021
Data Sourced
06:37 PM
Description
Apr 21, 2022
Exploit Published
via GitHub·06:23 AM
Oct 25, 2022
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Feb 7, 2024
Updated
via Android·12:00 AM
Affected Software
Mar 11, 2024
Updated
via Android·12:00 AM
Affected Software
Mar 18, 2024
Updated
via Android·12:00 AM
Affected Software
Apr 29, 2024
Updated
via Android·12:00 AM
Affected Software
Aug 26, 2024
Updated
via Android·12:00 AM
Affected Software
Jun 23, 2026
Updated
via Android·12:00 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-0509?

CVE-2021-0509 has a severity rating that indicates a potential for local escalation of privilege without requiring additional execution privileges.

2

How do I fix CVE-2021-0509?

To address CVE-2021-0509, update your Android device to the latest security patch provided by Google.

3

Which versions of Android are affected by CVE-2021-0509?

CVE-2021-0509 affects Android versions 8.1, 9.0, 10.0, and 11.0.

4

What kind of exploit is associated with CVE-2021-0509?

CVE-2021-0509 is related to a possible use after free vulnerability due to a race condition.

5

Is user interaction required to exploit CVE-2021-0509?

No, user interaction is not needed for the exploitation of CVE-2021-0509.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203