CVE-2021-22345 Memory corruption in EMUI, Magic UI

Critical 9.8 Published Updated

Attackers can exploit an input verification flaw in Huawei smartphone OS to cause out-of-bounds memory writes, potentially leading to code execution or privilege escalation.

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

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

Official description

There is an Input Verification Vulnerability in Huawei Smartphone. Successful exploitation of this vulnerability may cause out-of-bounds memory write.

Weakness: CWE-787

Which versions are affected by CVE-2021-22345?

It affects 2 products.

Products include Huawei Emui, Huawei Magic Ui.

How do I fix CVE-2021-22345?

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

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

All Huawei Emui vulnerabilities

Sources

Also known as GHSA-f45j-hf6c-jw9f.

Is CVE-2021-22345 in your software?

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

Check your SBOMs for free