CVE-2021-22386 Use after free in EMUI;Magic UI;HarmonyOS
Local attackers can exploit a double free vulnerability in Huawei mobile OS components to achieve root privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-22386?
CVE-2021-22386 is a high-severity use after free vulnerability in Huawei Emui, published on 10 Aug 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A component of the Huawei smartphone has a Double Free vulnerability. Local attackers may exploit this vulnerability to cause Root Elevation of Privileges.
Weakness: CWE-415
Which versions are affected by CVE-2021-22386?
It affects 2 products.
Products include Huawei Emui, Huawei Magic Ui.
How do I fix CVE-2021-22386?
No fix has been published for CVE-2021-22386 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2021-22386 being exploited?
There is no known exploitation of CVE-2021-22386 in the wild and no public exploit code.
Other vulnerabilities in Huawei Emui
Sources
Also known as GHSA-4xr8-wp6v-66q2.