CVE-2018-6339 Memory corruption in WhatsApp Business for Android

Critical 9.8 Published Updated

An off-by-one stack buffer overflow in WhatsApp for Android allows attackers to execute arbitrary code via crafted calls.

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

CVE-2018-6339 is a critical memory corruption vulnerability in Facebook WhatsApp Business for Android, published on 14 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

When receiving calls using WhatsApp on Android, a stack allocation failed to properly account for the amount of data being passed in. An off-by-one error meant that data was written beyond the allocated space on the stack. This issue affects WhatsApp for Android starting in version 2.18.180 and was fixed in version 2.18.295. It also affects WhatsApp Business for Android starting in version v2.18.103 and was fixed in version v2.18.150.

Weakness: CWE-119, CWE-121

Which versions are affected by CVE-2018-6339?

It affects 2 products.

Products include Whatsapp Whatsapp, Whatsapp Whatsapp Business.

How do I fix CVE-2018-6339?

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

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

Sources

Also known as GHSA-wjm8-p3r4-7xgc.

Is CVE-2018-6339 in your software?

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

Check your SBOMs for free