Integer overflow in Memcached
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 13 fixed, 3 without a fix
Attack profile from CVSS 3.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Red Hat 3 advisories
- RHSA-2017:0059 Released 2017-01-11 · Red Hat rating ModerateRed Hat Mobile Application Platform 4.2.1 Security Update - SDKs and RPMs
- Red Hat Mobile Application Platform 4.2 rhmap-fh-openshift-templates-1.0.0-5.el7
- RHSA-2016:2819 Released 2016-11-23 · Red Hat rating Importantmemcached security update
- Red Hat Enterprise Linux Client Optional (v. 7) memcached-1.4.15-10.el7_3.1, memcached-devel-1.4.15-10.el7_3.1
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) memcached-1.4.15-10.el7_3.1, memcached-devel-1.4.15-10.el7_3.1
- Red Hat Enterprise Linux Server (v. 7) memcached-1.4.15-10.el7_3.1
- Red Hat Enterprise Linux Server Optional (v. 7) memcached-devel-1.4.15-10.el7_3.1, memcached-devel-1.4.15-10.el7_3.1.ppc
- Red Hat Enterprise Linux Workstation (v. 7) memcached-1.4.15-10.el7_3.1
- Red Hat Enterprise Linux Workstation Optional (v. 7) memcached-devel-1.4.15-10.el7_3.1
- RHSA-2016:2820 Released 2016-11-23 · Red Hat rating Importantmemcached security update
- Red Hat Enterprise Linux Desktop Optional (v. 6) memcached-1.4.4-3.el6_8.1, memcached-devel-1.4.4-3.el6_8.1
- Red Hat Enterprise Linux HPC Node Optional (v. 6) memcached-1.4.4-3.el6_8.1, memcached-devel-1.4.4-3.el6_8.1
- Red Hat Enterprise Linux Server (v. 6) memcached-1.4.4-3.el6_8.1
- Red Hat Enterprise Linux Server Optional (v. 6) memcached-devel-1.4.4-3.el6_8.1, memcached-devel-1.4.4-3.el6_8.1.ppc
- Red Hat Enterprise Linux Workstation (v. 6) memcached-1.4.4-3.el6_8.1
- Red Hat Enterprise Linux Workstation Optional (v. 6) memcached-devel-1.4.4-3.el6_8.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Memcached — RHSA-2016:2819
3 records Highest priority Priority HIGH 1 HIGH, 2 MEDIUM
Other records, highest priority first
- TI-2016-07164 Integer overflow in MemcachedPriority HIGH 65
- TI-2016-07163 Integer overflow in MemcachedPriority MEDIUM 61
- Advisory ·
Memcached — DSA-3704
3 records Highest priority Priority HIGH 1 HIGH, 2 MEDIUM
Other records, highest priority first
- TI-2016-07164 Integer overflow in MemcachedPriority HIGH 65
- TI-2016-07163 Integer overflow in MemcachedPriority MEDIUM 61
Show 3 more groups
- Advisory ·
Memcached — GLSA-201701-12
3 records Highest priority Priority HIGH 1 HIGH, 2 MEDIUM
Other records, highest priority first
- TI-2016-07164 Integer overflow in MemcachedPriority HIGH 65
- TI-2016-07163 Integer overflow in MemcachedPriority MEDIUM 61
- Advisory ·
Memcached — RHSA-2016:2820
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2016-07163 Integer overflow in MemcachedPriority MEDIUM 61
- Advisory ·
Memcached — RHSA-2017:0059
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2016-07163 Integer overflow in MemcachedPriority MEDIUM 61
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 8 (Liberty) | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 9 (Mitaka) | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2016:2819 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2016:2819 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2016:2820 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2016:2820 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2016:2820 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2016:2819 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2016:2820 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2016:2819 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2016:2820 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2016:2819 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2016:2820 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2016:2819 |
| Red Hat Mobile Application Platform 4.2 | Fixed | RHSA-2017:0059 |
Not affected: 1 product
- Red Hat OpenStack Platform 10 (Newton)
Timeline
- 2026-10-02 Threatist record created from CVE-2016-8704
- 2026-10-03 Alias added: GHSA-5hm6-wpg3-fv45
References
More Memcached vulnerabilities
- TI-2018-15768 Memcached version 1.5.5 contains an Insufficient Control of Network Message Volume… CVSS 3.0HIGH 7.5
- TI-2020-14353 Memcached 1.6.0 before 1.6.3 allows remote attackers to cause a denial of service (daemon… CVSS 3.1HIGH 7.5
- TI-2016-07164 Integer overflow in Memcached CVSS 3.0HIGH 8.1
- TI-2016-07163 Integer overflow in Memcached CVSS 3.0CRITICAL 9.8
- TI-2021-15418 Buffer Overflow vulnerability in authfile.c memcached 1.6.9 allows attackers to cause a… CVSS 3.1MEDIUM 5.5
- TI-2020-08812 Memcached 1.6.x before 1.6.2 allows remote attackers to cause a denial of service (daemon… CVSS 3.1HIGH 7.5
Sources
- CVE-2016-8704 · CVE Program
- CVE-2016-8704 · NVD
- FIRST EPSS
- GHSA-5hm6-wpg3-fv45 · GitHub Advisory Database · CC BY 4.0
- CVE-2016-8704 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences