CVE-2018-5848 Integer overflow in Android for MSM, Firefox OS for MSM, QRD Android

High 7.8 Published Updated

An integer overflow in the wmi_set_ie function allows attackers to trigger a buffer overflow, 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
Available

What is CVE-2018-5848?

CVE-2018-5848 is a high-severity vulnerability in Debian Debian Linux, published on 12 Jun 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the function wmi_set_ie(), the length validation code does not handle unsigned integer overflow properly. As a result, a large value of the 'ie_len' argument can cause a buffer overflow in all Android releases from CAF (Android for MSM, Firefox OS for MSM, QRD Android) using the Linux Kernel.

Weakness: CWE-190, CWE-119

Which versions are affected by CVE-2018-5848?

It affects 6 products.

Linux distribution packages (22)
kgraft-patch-SLE12-SP3_Update_10 SUSE:Linux Enterprise Live Patching 12 SP3All versions9-2.1
kgraft-patch-SLE12-SP3_Update_11 SUSE:Linux Enterprise Live Patching 12 SP3All versions9-2.1
kgraft-patch-SLE12-SP3_Update_12 SUSE:Linux Enterprise Live Patching 12 SP3All versions7-2.1
kgraft-patch-SLE12-SP3_Update_13 SUSE:Linux Enterprise Live Patching 12 SP3All versions7-2.1
kgraft-patch-SLE12-SP3_Update_6 SUSE:Linux Enterprise Live Patching 12 SP3All versions12-2.1
kgraft-patch-SLE12-SP3_Update_7 SUSE:Linux Enterprise Live Patching 12 SP3All versions12-2.1
kgraft-patch-SLE12-SP3_Update_8 SUSE:Linux Enterprise Live Patching 12 SP3All versions10-2.1
kgraft-patch-SLE12-SP3_Update_9 SUSE:Linux Enterprise Live Patching 12 SP3All versions10-2.1
kgraft-patch-SLE12-SP2_Update_16 SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions12-2.1
kgraft-patch-SLE12-SP2_Update_17 SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions12-2.1
kgraft-patch-SLE12-SP2_Update_18 SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions10-2.1
kgraft-patch-SLE12-SP2_Update_19 SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions10-2.1
kgraft-patch-SLE12-SP2_Update_20 SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions9-2.1
kgraft-patch-SLE12-SP2_Update_21 SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions8-2.1
kgraft-patch-SLE12-SP2_Update_22 SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions8-2.1
kgraft-patch-SLE12-SP2_Update_16 SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions12-2.1
kgraft-patch-SLE12-SP2_Update_17 SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions12-2.1
kgraft-patch-SLE12-SP2_Update_18 SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions10-2.1
kgraft-patch-SLE12-SP2_Update_19 SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions10-2.1
kgraft-patch-SLE12-SP2_Update_20 SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions9-2.1
kgraft-patch-SLE12-SP2_Update_21 SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions8-2.1
kgraft-patch-SLE12-SP2_Update_22 SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions8-2.1

Products include Debian Debian Linux, Google Android, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Workstation, Redhat Virtualization Host.

How do I fix CVE-2018-5848?

Apply the vendor's patch.

Is CVE-2018-5848 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-5848, GHSA-hf9h-mjmm-hjj4, SUSE-SU-2018:4127-1, SUSE-SU-2018:4208-1, UBUNTU-CVE-2018-5848.

Is CVE-2018-5848 in your software?

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

Check your SBOMs for free