CVE-2018-5821 Memory corruption in Android for MSM, Firefox OS for MSM, QRD Android

High 7.3 Published Updated

An out-of-bounds read in the Qualcomm Android kernel allows attackers to read sensitive memory or cause a denial of service via crafted firmware events.

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

CVE-2018-5821 is a high-severity memory corruption vulnerability in Google Android, published on 3 Apr 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Qualcomm Android for MSM, Firefox OS for MSM, and QRD Android with all Android releases from CAF using the Linux kernel before security patch level 2018-04-05, in function wma_wow_wakeup_host_event(), wake_info->vdev_id is received from FW and is used directly as array index to access wma->interfaces whose max index should be (max_bssid-1). If wake_info->vdev_id is greater than or equal to max_bssid, an out-of-bounds read occurs.

Weakness: CWE-125

Which versions are affected by CVE-2018-5821?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2018-5821?

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

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

All Google Android vulnerabilities

Sources

Also known as GHSA-r4x7-9g6g-224c.

Is CVE-2018-5821 in your software?

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

Check your SBOMs for free