CVE-2016-8704
An integer overflow in the process_bin_append_prepend function in Memcached, which is responsible...
CVE-2016-8704 is a critical vulnerability (CVSS 9.8) in Memcached, published November 2, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 23.2%, the 97th percentile. Fixed in memcached 1.4.33-r0.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.8
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.
- Record
CVE-2016-8704- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
EUVDEUVD-2016-9543
9.8
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.
- Record
EUVD-2016-9543- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5hm6-wpg3-fv45
9.8
An integer overflow in the process_bin_append_prepend function in Memcached, which is responsible...
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.
- Record
GHSA-5hm6-wpg3-fv45- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
NVD
9.8
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.
- Record
CVE-2016-8704- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-190
- Updated
- 2026-11-02
OSVALPINE-CVE-2016-8704
9.8
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.
- Record
ALPINE-CVE-2016-8704- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2016-8704- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2016-8704
9.8
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.
- Record
DEBIAN-CVE-2016-8704- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2016:2819
9.8
Red Hat Security Advisory: memcached security update
- Record
RHSA-2016:2819- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2016:2820
9.8
Red Hat Security Advisory: memcached security update
- Record
RHSA-2016:2820- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2017:0059
8.8
Red Hat Security Advisory: Red Hat Mobile Application Platform 4.2.1 Security Update - SDKs and RPMs
- Record
RHSA-2017:0059- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-8704
9.8
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.
- Record
UBUNTU-CVE-2016-8704- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2016-0381 No score
Updated memcached packages fix security vulnerability
Aleksandar Nikolic discovered that Memcached incorrectly handled certain malformed commands. A remote attacker could use this issue to cause Memcached to crash, resulting in a denial of service, or possibly execute arbitrary code (CVE-2016-8704, CVE-2016-8705, CVE-2016-8706).
- Record
MGASA-2016-0381- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10021-1 No score
memcached-1.4.33-1.1 on GA media
These are all security issues fixed in the memcached-1.4.33-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10021-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0778-1 No score
Security update for memcached
This update for memcached fixes the following issues:
Security issues fixed:
- CVE-2011-4971: remote DoS (bsc#817781).
- CVE-2013-0179: DoS when printing out keys to be deleted in verbose mode (bsc#798458).
- CVE-2013-7239: SASL authentication allows wrong credentials to access memcache (bsc#857188).
- CVE-2013-7290: remote DoS (segmentation fault) via a request to delete a key (bsc#858677).
- CVE-2013-7291: remote DoS (crash) via a request that triggers 'unbounded key print' (bsc#858676).
- CVE-2016-8704: Server append/prepend remote code execution (bsc#1007871).
- CVE-2016-8705: Server update remote code execution (bsc#1007870).
- CVE-2016-8706: Server ASL authentication remote code execution (bsc#1007869).
- CVE-2017-9951: Heap-based buffer over-read in try_read_command function (incomplete fix for CVE-2016-8705) (bsc#1056865).
- Record
SUSE-SU-2018:0778-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0807-1 No score
Security update for memcached
This update for memcached fixes the following issues:
Security issues fixed:
- CVE-2011-4971: remote DoS (bsc#817781).
- CVE-2013-0179: DoS when printing out keys to be deleted in verbose mode (bsc#798458).
- CVE-2013-7239: SASL authentication allows wrong credentials to access memcache (bsc#857188).
- CVE-2013-7290: remote DoS (segmentation fault) via a request to delete a key (bsc#858677).
- CVE-2013-7291: remote DoS (crash) via a request that triggers 'unbounded key print' (bsc#858676).
- CVE-2016-8704: Server append/prepend remote code execution (bsc#1007871).
- CVE-2016-8705: Server update remote code execution (bsc#1007870).
- CVE-2016-8706: Server ASL authentication remote code execution (bsc#1007869).
- CVE-2017-9951: Heap-based buffer over-read in try_read_command function (incomplete fix for CVE-2016-8705) (bsc#1056865).
- Record
SUSE-SU-2018:0807-1- Updated
- 2026-11-02
OSVUSN-3120-1 No score
memcached vulnerabilities
Aleksandar Nikolic discovered that Memcached incorrectly handled certain malformed commands. A remote attacker could use this issue to cause Memcached to crash, resulting in a denial of service, or possibly execute arbitrary code.
- Record
USN-3120-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
memcachedAlpine:v3.4 |
before 1.4.33-r0 | 1.4.33-r0 |
memcachedAlpine:v3.5 |
before 1.4.33-r0 | 1.4.33-r0 |
memcachedDebian:12 |
before 1.4.33-1 | 1.4.33-1 |
memcachedDebian:13 |
before 1.4.33-1 | 1.4.33-1 |
memcachedDebian:14 |
before 1.4.33-1 | 1.4.33-1 |
memcachedDebian:7 |
before 1.4.13-0.2+deb7u2, plus listed versions 1.4.13-0.21.4.13-0.2+deb7u1 |
1.4.13-0.2+deb7u2 |
memcachedDebian:8 |
before 1.4.21-1.1+deb8u1, plus listed versions 1.4.21-1.1 |
1.4.21-1.1+deb8u1 |
memcachedMageia:5 |
before 1.4.25-1.mga5 | 1.4.25-1.mga5 |
memcachedRed Hat:enterprise_linux:7::client |
before 0:1.4.15-10.el7_3.1 | 0:1.4.15-10.el7_3.1 |
memcached-debuginfoRed Hat:enterprise_linux:7::client |
before 0:1.4.15-10.el7_3.1 | 0:1.4.15-10.el7_3.1 |
Show 29 moreShow less
| Package | Affected | Fixed |
|---|---|---|
memcached-develRed Hat:enterprise_linux:7::client |
before 0:1.4.15-10.el7_3.1 | 0:1.4.15-10.el7_3.1 |
memcachedRed Hat:enterprise_linux:7::computenode |
before 0:1.4.15-10.el7_3.1 | 0:1.4.15-10.el7_3.1 |
memcached-debuginfoRed Hat:enterprise_linux:7::computenode |
before 0:1.4.15-10.el7_3.1 | 0:1.4.15-10.el7_3.1 |
memcached-develRed Hat:enterprise_linux:7::computenode |
before 0:1.4.15-10.el7_3.1 | 0:1.4.15-10.el7_3.1 |
memcachedRed Hat:enterprise_linux:7::server |
before 0:1.4.15-10.el7_3.1 | 0:1.4.15-10.el7_3.1 |
memcached-debuginfoRed Hat:enterprise_linux:7::server |
before 0:1.4.15-10.el7_3.1 | 0:1.4.15-10.el7_3.1 |
memcached-develRed Hat:enterprise_linux:7::server |
before 0:1.4.15-10.el7_3.1 | 0:1.4.15-10.el7_3.1 |
memcachedRed Hat:enterprise_linux:7::workstation |
before 0:1.4.15-10.el7_3.1 | 0:1.4.15-10.el7_3.1 |
memcached-debuginfoRed Hat:enterprise_linux:7::workstation |
before 0:1.4.15-10.el7_3.1 | 0:1.4.15-10.el7_3.1 |
memcached-develRed Hat:enterprise_linux:7::workstation |
before 0:1.4.15-10.el7_3.1 | 0:1.4.15-10.el7_3.1 |
memcachedRed Hat:enterprise_linux:6::client |
before 0:1.4.4-3.el6_8.1 | 0:1.4.4-3.el6_8.1 |
memcached-debuginfoRed Hat:enterprise_linux:6::client |
before 0:1.4.4-3.el6_8.1 | 0:1.4.4-3.el6_8.1 |
memcached-develRed Hat:enterprise_linux:6::client |
before 0:1.4.4-3.el6_8.1 | 0:1.4.4-3.el6_8.1 |
memcachedRed Hat:enterprise_linux:6::computenode |
before 0:1.4.4-3.el6_8.1 | 0:1.4.4-3.el6_8.1 |
memcached-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:1.4.4-3.el6_8.1 | 0:1.4.4-3.el6_8.1 |
memcached-develRed Hat:enterprise_linux:6::computenode |
before 0:1.4.4-3.el6_8.1 | 0:1.4.4-3.el6_8.1 |
memcachedRed Hat:enterprise_linux:6::server |
before 0:1.4.4-3.el6_8.1 | 0:1.4.4-3.el6_8.1 |
memcached-debuginfoRed Hat:enterprise_linux:6::server |
before 0:1.4.4-3.el6_8.1 | 0:1.4.4-3.el6_8.1 |
memcached-develRed Hat:enterprise_linux:6::server |
before 0:1.4.4-3.el6_8.1 | 0:1.4.4-3.el6_8.1 |
memcachedRed Hat:enterprise_linux:6::workstation |
before 0:1.4.4-3.el6_8.1 | 0:1.4.4-3.el6_8.1 |
memcached-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:1.4.4-3.el6_8.1 | 0:1.4.4-3.el6_8.1 |
memcached-develRed Hat:enterprise_linux:6::workstation |
before 0:1.4.4-3.el6_8.1 | 0:1.4.4-3.el6_8.1 |
rhmap-fh-openshift-templatesRed Hat:mobile_application_platform:4.2 |
before 0:1.0.0-5.el7 | 0:1.0.0-5.el7 |
memcachedSUSE:OpenStack Cloud 7 |
before 1.4.39-3.3.2 | 1.4.39-3.3.2 |
memcachedSUSE:Enterprise Storage 4 |
before 1.4.39-3.3.2 | 1.4.39-3.3.2 |
memcachedSUSE:OpenStack Cloud 6 |
before 1.4.39-3.3.1 | 1.4.39-3.3.1 |
memcachedUbuntu:14.04:LTS |
before 1.4.14-0ubuntu9.1, plus listed versions 1.4.14-0ubuntu41.4.14-0ubuntu81.4.14-0ubuntu9 |
1.4.14-0ubuntu9.1 |
memcachedUbuntu:16.04:LTS |
before 1.4.25-2ubuntu1.2, plus listed versions 1.4.24-2ubuntu11.4.25-1ubuntu21.4.25-2ubuntu1 |
1.4.25-2ubuntu1.2 |
memcachedopenSUSE:Tumbleweed |
before 1.4.33-1.1 | 1.4.33-1.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
security.gentoo.org/glsa/201701-12
debian.org/security/2016/dsa-3704
rhn.redhat.com/errata/RHSA-2016-2819.html
securityfocus.com/bid/94083
rhn.redhat.com/errata/RHSA-2016-2820.html
access.redhat.com/errata/RHSA-2017:0059
Show 57 moreShow less
securitytracker.com/id/1037333
talosintelligence.com/reports/TALOS-2016-0219
nvd.nist.gov/vuln/detail/CVE-2016-8704
github.com/advisories/GHSA-5hm6-wpg3-fv45
security.alpinelinux.org/vuln/CVE-2016-8704
security-tracker.debian.org/tracker/CVE-2016-8704
advisories.mageia.org/MGASA-2016-0381.html
bugs.mageia.org/show_bug.cgi?id=19689
ubuntu.com/usn/usn-3120-1
access.redhat.com/errata/RHSA-2016:2819
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1390510
bugzilla.redhat.com/show_bug.cgi?id=1390511
bugzilla.redhat.com/show_bug.cgi?id=1390512
security.access.redhat.com/data/csaf/v2/advisories/2016/rhsa-2016_2819.json
access.redhat.com/security/cve/CVE-2016-8704
cve.org/CVERecord?id=CVE-2016-8704
access.redhat.com/security/cve/CVE-2016-8705
cve.org/CVERecord?id=CVE-2016-8705
nvd.nist.gov/vuln/detail/CVE-2016-8705
talosintelligence.com/reports/TALOS-2016-0220
access.redhat.com/security/cve/CVE-2016-8706
cve.org/CVERecord?id=CVE-2016-8706
nvd.nist.gov/vuln/detail/CVE-2016-8706
talosintelligence.com/reports/TALOS-2016-0221
access.redhat.com/errata/RHSA-2016:2820
security.access.redhat.com/data/csaf/v2/advisories/2016/rhsa-2016_2820.json
access.redhat.com/downloads/content/316
issues.redhat.com/browse/RHMAP-11023
security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_0059.json
suse.com/support/update/announcement/2018/suse-su-20180778-1
bugzilla.suse.com/1007869
bugzilla.suse.com/1007870
bugzilla.suse.com/1007871
bugzilla.suse.com/1056865
bugzilla.suse.com/798458
bugzilla.suse.com/817781
bugzilla.suse.com/857188
bugzilla.suse.com/858676
bugzilla.suse.com/858677
suse.com/security/cve/CVE-2011-4971
suse.com/security/cve/CVE-2013-0179
suse.com/security/cve/CVE-2013-7239
suse.com/security/cve/CVE-2013-7290
suse.com/security/cve/CVE-2013-7291
suse.com/security/cve/CVE-2016-8704
suse.com/security/cve/CVE-2016-8705
suse.com/security/cve/CVE-2016-8706
suse.com/security/cve/CVE-2017-9951
suse.com/support/update/announcement/2018/suse-su-20180807-1
ubuntu.com/security/CVE-2016-8704
blog.talosintel.com/2016/10/memcached-vulnerabilities.html
github.com/memcached/memcached/wiki/ReleaseNotes1433
ubuntu.com/security/notices/USN-3120-1
ubuntu.com/security/CVE-2016-8705
ubuntu.com/security/CVE-2016-8706
suse.com/security/cve/CVE-2009-1494