CVE-2021-40019 Memory corruption in EMUI
An out-of-bounds heap read in the HW_KEYMASTER module allows attackers to access unauthorized memory or cause a crash.
- 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-40019?
CVE-2021-40019 is a critical memory corruption vulnerability in Huawei Emui, published on 16 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Out-of-bounds heap read vulnerability in the HW_KEYMASTER module. Successful exploitation of this vulnerability may cause out-of-bounds access.
Weakness: CWE-125
Which versions are affected by CVE-2021-40019?
It affects 2 products.
Products include Huawei Emui, Huawei Magic Ui.
How do I fix CVE-2021-40019?
No fix has been published for CVE-2021-40019 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-40019 being exploited?
There is no known exploitation of CVE-2021-40019 in the wild and no public exploit code.
Other vulnerabilities in Huawei Emui
Sources
Also known as GHSA-84h3-cchg-46pm.