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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | memcached +1 | 1.4.15-10.el7_3.1 | RHSA-2016:2819 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | memcached | 1.4.33-1.1 | openSUSE-SU-2024:10021-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.5 | memcached | 1.4.33-r0 | — |
| Alpine v3.4 | memcached | 1.4.33-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | memcached +1 | 1.4.15-10.el7_3.1 | ELSA-2016-2819 |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Memcached Server SASL Authentication - Remote Code Execution javascript/cves/2016/CVE-2016-8706.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 8
- RHSA-2016:2819 Red Hat Security Advisory: memcached security update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- DLA-701-1 memcached - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3704-1 memcached - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3120-1 memcached vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2018:0778-1 Security update for memcached SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0807-1 Security update for memcached SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10021-1 memcached-1.4.33-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2016-2819 Important: memcached security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 23, 2016
References
- GLSA-201701-12 vendor-advisory
- DSA-3704 vendor-advisory
- RHSA-2016:2819 vendor-advisory
- 94083 vdb-entry
- 1037333 vdb-entry
- http://www.talosintelligence.com/reports/TALOS-2016-0221/