CVE-2018-5831 Use after free in Android for MSM, Firefox OS for MSM, QRD Android

High 7.8 Published Updated

A reference counting error in the KGSL driver allows attackers to trigger a Use After Free condition, potentially leading to code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-5831?

CVE-2018-5831 is a high-severity use after free vulnerability in Google Android, published on 6 Jul 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the KGSL driver in Android releases from CAF using the linux kernel (Android for MSM, Firefox OS for MSM, QRD Android) before security patch level 2018-06-05, a reference counting error can lead to a Use After Free condition.

Weakness: CWE-416

Which versions are affected by CVE-2018-5831?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2018-5831?

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

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

All Google Android vulnerabilities

Sources

Also known as GHSA-vrqv-h6mm-p5f4.

Is CVE-2018-5831 in your software?

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

Check your SBOMs for free