CVE-2018-7987 Memory corruption in Huawei P20

Medium 5.9 Published Updated

An out-of-bounds write in Huawei P20 allows attackers to cause a denial of service via crafted messages during inquiry operations.

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-2018-7987?

CVE-2018-7987 is a medium-severity memory corruption vulnerability in Huawei P20, published on 4 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

There is an out-of-bounds write vulnerability on Huawei P20 smartphones with versions before 8.1.0.171(C00). The software does not handle the response message properly when the user doing certain inquiry operation, an attacker could send crafted message to the device, successful exploit could cause a denial of service condition.

Weakness: CWE-787

Which versions are affected by CVE-2018-7987?

It affects 1 product.

Products include Huawei P20 Firmware.

How do I fix CVE-2018-7987?

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

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

Sources

Also known as GHSA-9jhh-f5r5-cq57.

Is CVE-2018-7987 in your software?

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

Check your SBOMs for free