CVE-2021-1027: Incorrect Type Cast

Published Dec 1, 2021
·
Updated

In setTransactionState of SurfaceFlinger, there is possible arbitrary code execution in a privileged process due to improper casting. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

Affected Software

2 affected componentsFixes available
Google Android=12.0
android/platform/frameworks/native>=12:0<12:2021-12-01
12:2021-12-01

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 12:2021-12-01

Event History

Dec 1, 2021
Advisory Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionAffected Software
Dec 15, 2021
CVE Published
via MITRE·06:06 PM
Data Sourced
via MITRE·06:06 PM
DescriptionWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Android 12 devices are affected. Exploitation is local, so the attacker must already be able to run code on the device with low privileges.

2

Does exploitation require user interaction or special execution privileges?

No user interaction is required. The vulnerability can enable privilege escalation without additional execution privileges beyond the attacker’s existing local access.

3

What is the likely impact if exploitation succeeds?

Successful exploitation could allow arbitrary code execution in a privileged SurfaceFlinger process, with resulting high impact to confidentiality, integrity, and availability.

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