Skip to content
Noroxi
CVE-2016-8704· NVD / CVE Program· CNA talos

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

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.

CriticalCVSS 9.8 · v3.0—No exploit Fix available
Published
Jan 6, 2017
Updated
Jun 16, 2026
EPSS
23.2% · 98th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

46

Plan

Add it to your regular patch cycle.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
7 / 30 · 23.2%

CNA vs NVD score

NVD
9.8
CNA · talos
9.8
agree

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
memcachedmemcached

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • memcached memcachedup to 1.4.31 inclusive

Versions reported by the vendor

Affected version ranges reported by the assigning authority (talos). Independent of NVD's CPE analysis and usually ahead of it.

  • Memcached Memcached

    • 1.4.31affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.4memcachedbefore 1.4.33-r01.4.33-r0
Debian:12memcachedbefore 1.4.33-11.4.33-1
Debian:7memcachedbefore 1.4.13-0.2+deb7u21.4.13-0.2+deb7u2
Debian:8memcachedbefore 1.4.21-1.1+deb8u11.4.21-1.1+deb8u1
openSUSE:Tumbleweedmemcachedbefore 1.4.33-1.11.4.33-1.1
Red Hat:enterprise_linux:6::clientmemcachedbefore 0:1.4.4-3.el6_8.10:1.4.4-3.el6_8.1
Red Hat:enterprise_linux:6::clientmemcached-debuginfobefore 0:1.4.4-3.el6_8.10:1.4.4-3.el6_8.1
Red Hat:enterprise_linux:6::clientmemcached-develbefore 0:1.4.4-3.el6_8.10:1.4.4-3.el6_8.1
Red Hat:enterprise_linux:7::clientmemcachedbefore 0:1.4.15-10.el7_3.10:1.4.15-10.el7_3.1
Red Hat:enterprise_linux:7::clientmemcached-debuginfobefore 0:1.4.15-10.el7_3.10:1.4.15-10.el7_3.1
Red Hat:enterprise_linux:7::clientmemcached-develbefore 0:1.4.15-10.el7_3.10:1.4.15-10.el7_3.1
Red Hat:mobile_application_platform:4.2rhmap-fh-openshift-templatesbefore 0:1.0.0-5.el70:1.0.0-5.el7
SUSE:OpenStack Cloud 6memcachedbefore 1.4.39-3.3.11.4.39-3.3.1
SUSE:OpenStack Cloud 7memcachedbefore 1.4.39-3.3.21.4.39-3.3.2

Other highest-scoring records for the same primary product.

  • CVE-2018-1000115Memcached version 1.5.5 contains an Insufficient Control of Network Message Volume (Network Amplification, CWE-406) vulnerability in the UDP
    56Plan
  • CVE-2016-8706An integer overflow in process_bin_sasl_auth function in Memcached, which is responsible for authentication commands of Memcached binary pro
    46Plan
  • CVE-2016-8705Multiple integer overflows in process_bin_update function in Memcached, which is responsible for processing multiple commands of Memcached b
    45Plan
  • CVE-2023-46853In Memcached before 1.6.22, an off-by-one error exists when processing proxy requests in proxy mode, if \n is used instead of \r\n.
    39Monitor
  • CVE-2020-10931Memcached 1.6.x before 1.6.2 allows remote attackers to cause a denial of service (daemon crash) via a crafted binary protocol header to try
    38Monitor
  • CVE-2026-47784In memcached before 1.6.42, password data for SASL password database authentication has a timing side channel because memcmp is used by sasl
    32Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:memcached1.4.33-r0 · Alpine:v3.4Package registry (OSV)
debian:memcached1.4.33-1 · Debian:12Package registry (OSV)
opensuse:memcached1.4.33-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:memcached0:1.4.15-10.el7_3.1 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:memcached-debuginfo0:1.4.15-10.el7_3.1 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:memcached-devel0:1.4.15-10.el7_3.1 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:rhmap-fh-openshift-templates0:1.0.0-5.el7 · Red Hat:mobile_application_platform:4.2Package registry (OSV)
suse:memcached1.4.39-3.3.2 · SUSE:OpenStack Cloud 7Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records