CVE-2021-46887 Memory corruption in EMUI

Critical 9.8 Published Updated

An out-of-bounds read in the HW_KEYMASTER module allows attackers to potentially disclose sensitive memory data.

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-46887?

CVE-2021-46887 is a critical memory corruption vulnerability in Huawei Emui, published on 26 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Lack of length check vulnerability in the HW_KEYMASTER module. Successful exploitation of this vulnerability may cause out-of-bounds read.

Which versions are affected by CVE-2021-46887?

It affects 1 product.

Products include Huawei Emui.

How do I fix CVE-2021-46887?

No fix has been published for CVE-2021-46887 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-46887 being exploited?

There is no known exploitation of CVE-2021-46887 in the wild and no public exploit code.

All Huawei Emui vulnerabilities

Sources

Also known as GHSA-mh78-7xw8-jc7w.

Is CVE-2021-46887 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free