CVE-2021-40038 Use after free in EMUI
A double free vulnerability in the AOD module of Huawei smartphones can lead to service integrity issues and potential denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-40038?
CVE-2021-40038 is a high-severity use after free vulnerability in Huawei Emui, published on 7 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
There is a Double free vulnerability in the AOD module in smartphones. Successful exploitation of this vulnerability may affect service integrity.
Weakness: CWE-415
Which versions are affected by CVE-2021-40038?
It affects 3 products.
Products include Huawei Emui, Huawei Harmonyos, Huawei Magic Ui.
How do I fix CVE-2021-40038?
No fix has been published for CVE-2021-40038 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-40038 being exploited?
There is no known exploitation of CVE-2021-40038 in the wild and no public exploit code.
Other vulnerabilities in Huawei Emui
Sources
Also known as GHSA-cm86-4h8q-3p8f.