Skip to content
OpenAdvisories
Critical · 9.8 CVE-2016-8704 EUVD-2016-9543GHSA-5hm6-wpg3-fv45

An integer overflow in the process_bin_append_prepend function in Memcached, which is responsible for processing multiple commands of Memca…

Published Jan 6, 2017 · Updated Aug 6, 2024 · Assigned by talos

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.

Affected products

VendorProductAffectedFixed
Memcached Memcached 1.4.31 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 memcached 1.4.33-1 —
Debian 13 memcached 1.4.33-1 —
Debian 12 memcached 1.4.33-1 —
Debian 8 memcached 1.4.21-1.1+deb8u1 DSA-3704-1
Debian 7 memcached 1.4.13-0.2+deb7u2 DLA-701-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS memcached 1.4.25-2ubuntu1.2 USN-3120-1
Ubuntu 14.04 LTS memcached 1.4.14-0ubuntu9.1 USN-3120-1
ReleasePackageFixed inAdvisory
RHEL 7 memcached +1 1.4.15-10.el7_3.1 RHSA-2016:2819
RHEL 6 memcached +1 1.4.4-3.el6_8.1 RHSA-2016:2820
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Mobile Application Platform 4 rhmap-fh-openshift-templates 1.0.0-5.el7 RHSA-2017:0059
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud 7 memcached 1.4.39-3.3.2 SUSE-SU-2018:0778-1
SUSE OpenStack Cloud 6 memcached 1.4.39-3.3.1 SUSE-SU-2018:0807-1
SUSE Enterprise Storage 4 memcached 1.4.39-3.3.2 SUSE-SU-2018:0778-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed memcached 1.4.33-1.1 openSUSE-SU-2024:10021-1
ReleasePackageFixed inAdvisory
Alpine v3.5 memcached 1.4.33-r0 —
Alpine v3.4 memcached 1.4.33-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 memcached +1 1.4.15-10.el7_3.1 ELSA-2016-2819

Advisories 10

References