← Vulnerability feed

Vulnerability record · CVE-2016-8706 · published 6 January 2017

CVE-2016-8706: Memcached binary protocol SASL auth integer overflow leads to RCE

MMemcached · Memcached

An integer overflow in the process_bin_sasl_auth function, which handles authentication commands in the Memcached binary protocol, can cause a heap overflow. Successful abuse can lead to remote code execution on the Memcached server.

8.1 CVSS 3.0 High EPSS 46% · top 1.2% CWE-190 · Integer overflow
8.1CVSS 3.0 base score, v2 6.8
46%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
12References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

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

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: medium.

high priorityCVSS 8.1 with remote code execution potential and a very high EPSS percentile, though no KEV listing or confirmed in-the-wild exploitation is documented.

What it is

An integer overflow in the process_bin_sasl_auth function, which handles authentication commands in the Memcached binary protocol, can cause a heap overflow. Successful abuse can lead to remote code execution on the Memcached server.

Impact

An attacker can corrupt heap memory and potentially execute arbitrary code on the affected Memcached process, gaining control of the service and any data or host access it holds.

Attack surface

Reachable over the network via the Memcached binary protocol SASL authentication path; the CVSS vector indicates no privileges and no user interaction are required, though attack complexity is rated high.

Exploitation

Not listed in CISA KEV and no ransomware association is documented; EPSS is 0.45703 (98.7th percentile), and the Talos reference is tagged Exploit and Technical Description, indicating public exploit detail exists.

What to do

  • Upgrade Memcached to a version containing the fix referenced by the Red Hat, Debian and Gentoo advisories.
  • Disable or restrict the binary protocol and SASL authentication if not required.
  • Bind Memcached to trusted interfaces only and block external access to its ports.
  • Apply vendor patches from RHSA-2016-2819, DSA-3704 and GLSA 201701-12 as applicable.

Detection

  • Monitor Memcached logs and network traffic for malformed or unusual binary protocol SASL authentication commands.
  • Watch for crashes or abnormal process termination of memcached that could indicate heap corruption attempts.
  • Alert on unexpected outbound connections or child processes spawned by the memcached service.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2016-8706 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-46853Memcached vulnerabilityIn 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.EPSS 0.76%9.8CVE-2016-8704Memcached integer overflow vulnerabilityAn integer overflow in the process_bin_append_prepend function in Memcached, which is responsible for processing multiple commands of Memcached binar…EPSS 23%9.8CVE-2016-8705Memcached integer overflow vulnerabilityMultiple integer overflows in process_bin_update function in Memcached, which is responsible for processing multiple commands of Memcached binary pro…EPSS 20%8.1CVE-2026-47783Memcached vulnerabilityIn memcached before 1.6.42, username data for SASL password database authentication has a timing side channel because a loop exits as soon as a valid…EPSS 1.3%8.1CVE-2026-47784Memcached vulnerabilityIn memcached before 1.6.42, password data for SASL password database authentication has a timing side channel because memcmp is used by sasl_server_u…EPSS 0.55%7.5CVE-2023-46852Memcached classic buffer overflow vulnerabilityIn Memcached before 1.6.22, a buffer overflow exists when processing multiget requests in proxy mode, if there are many spaces after the "get" substr…EPSS 0.78%7.5CVE-2022-48571Memcached uncontrolled resource consumption vulnerabilitymemcached 1.6.7 allows a Denial of Service via multi-packet uploads in UDP.EPSS 1.1%7.5CVE-2020-22570Memcached command injection vulnerabilityMemcached 1.6.0 before 1.6.3 allows remote attackers to cause a denial of service (daemon crash) via a crafted meta command.EPSS 1.3%

Source: NIST National Vulnerability Database (record CVE-2016-8706), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.