CVE-2021-39996 Memory corruption in EMUI;Magic UI;HarmonyOS

Critical 9.8 Published Updated

Heap-based buffer overflow in the NFC module of Huawei smartphones allows attackers to cause memory overflow, potentially leading to code execution or 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-39996?

CVE-2021-39996 is a critical memory corruption 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 Heap-based buffer overflow vulnerability with the NFC module in smartphones. Successful exploitation of this vulnerability may cause memory overflow.

Weakness: CWE-787

Which versions are affected by CVE-2021-39996?

It affects 3 products.

Products include Huawei Emui, Huawei Harmonyos, Huawei Magic Ui.

How do I fix CVE-2021-39996?

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

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

All Huawei Emui vulnerabilities

Sources

Also known as GHSA-mrvq-2cc4-hffg.

Is CVE-2021-39996 in your software?

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

Check your SBOMs for free