CVE-2018-7899 Use after free in Berkeley-AL20, Berkeley-BD

Medium 5.5 Published Updated

A double free vulnerability in the Mali driver allows attackers to cause a system reboot by tricking users into installing a malicious application.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2018-7899?

CVE-2018-7899 is a medium-severity use after free vulnerability in Huawei Technologies Co., Ltd. Berkeley-AL20, Berkeley-BD, published on 19 Apr 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

The Mali Driver of Huawei Berkeley-AL20 and Berkeley-BD smart phones with software Berkeley-AL20 8.0.0.105(C00), 8.0.0.111(C00), 8.0.0.112D(C00), 8.0.0.116(C00), 8.0.0.119(C00), 8.0.0.119D(C00), 8.0.0.122(C00), 8.0.0.132(C00), 8.0.0.132D(C00), 8.0.0.142(C00), 8.0.0.151(C00), Berkeley-BD 1.0.0.21, 1.0.0.22, 1.0.0.23, 1.0.0.24, 1.0.0.26, 1.0.0.29 has a double free vulnerability. An attacker can trick a user to install a malicious application and exploit this vulnerability when in the exception handling process. Successful exploitation may cause system reboot.

Weakness: CWE-415

Which versions are affected by CVE-2018-7899?

It affects 2 products.

Products include Huawei Berkeley-Al20 Firmware, Huawei Berkeley-Bd Firmware.

How do I fix CVE-2018-7899?

No fix has been published for CVE-2018-7899 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2018-7899 being exploited?

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

Sources

Also known as GHSA-x2qr-83fp-75qc.

Is CVE-2018-7899 in your software?

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

Check your SBOMs for free