CVE-2020-9142 Memory corruption in EMUI;Magic UI

Critical 9.1 Published Updated

Heap buffer overflow in Huawei smartphone OS allows attackers to overwrite memory and potentially execute code via malicious update files.

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-2020-9142?

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

Official description

There is a heap base buffer overflow vulnerability in some Huawei smartphone.Successful exploitation of this vulnerability can cause heap overflow and memory overwriting when the system incorrectly processes the update file.

Weakness: CWE-787

Which versions are affected by CVE-2020-9142?

It affects 2 products.

Products include Huawei Emui, Huawei Magic Ui.

How do I fix CVE-2020-9142?

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

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

All Huawei Emui vulnerabilities

Sources

Also known as GHSA-w82f-48jf-c4v4.

Is CVE-2020-9142 in your software?

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

Check your SBOMs for free