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

High 7.8 Published Updated

A use-after-free vulnerability in the Qualcomm Android kernel allows attackers to execute arbitrary code or cause a denial of service via TDLS connections.

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-5899?

CVE-2018-5899 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 Android releases from CAF using the linux kernel (Android for MSM, Firefox OS for MSM, QRD Android) before security patch level 2018-06-05, whenever TDLS connection is setup, we are freeing the netbuf in ol_tx_completion_handler and after that, we are accessing it in NBUF_UPDATE_TX_PKT_COUNT causing a use after free.

Weakness: CWE-416

Which versions are affected by CVE-2018-5899?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2018-5899?

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

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

All Google Android vulnerabilities

Sources

Also known as GHSA-qmhr-whfc-q573.

Is CVE-2018-5899 in your software?

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

Check your SBOMs for free