CVE-2016-8704 Integer overflow in Memcached

Critical 9.8 Published Updated

An integer overflow in Memcached's binary protocol processing allows remote attackers to trigger a heap overflow and execute arbitrary code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-8704?

CVE-2016-8704 is a critical vulnerability in Memcached, published on 6 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An integer overflow in the process_bin_append_prepend function in Memcached, which is responsible for processing multiple commands of Memcached binary protocol, can be abused to cause heap overflow and lead to remote code execution.

Weakness: CWE-190

Which versions are affected by CVE-2016-8704?

It affects 1 product.

Products include Memcached Memcached.

How do I fix CVE-2016-8704?

Apply the vendor's patch.

Is CVE-2016-8704 being exploited?

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

Sources

Also known as ALPINE-CVE-2016-8704, DEBIAN-CVE-2016-8704, GHSA-5hm6-wpg3-fv45, UBUNTU-CVE-2016-8704.

Is CVE-2016-8704 in your software?

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

Check your SBOMs for free