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

High 7.8 Published Updated

A buffer overflow in the DRM SDE driver allows attackers to execute arbitrary code or escalate privileges on Qualcomm-based Android devices.

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

CVE-2018-5840 is a high-severity memory corruption vulnerability in Google Android, published on 6 Jun 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

Buffer Copy without Checking Size of Input can occur during the DRM SDE driver initialization sequence in all Android releases from CAF (Android for MSM, Firefox OS for MSM, QRD Android) using the Linux Kernel.

Weakness: CWE-120

Which versions are affected by CVE-2018-5840?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2018-5840?

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

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

All Google Android vulnerabilities

Sources

Also known as GHSA-pvgr-wf54-pxhq.

Is CVE-2018-5840 in your software?

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

Check your SBOMs for free