CVE-2017-9951
publishedmemcached: Heap-based buffer over-read in try_read_command function (incomplete fix for CVE-2016-8705)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | v3.3 | memcached | Fixed | 1.4.33-r1 | Package fix record |
| Debian | jessie | memcached | Advisory build | 1.4.21-1.1+deb8u2 | DSA-4218-1 |
| SUSE / openSUSE | SLE-11-SP4 | memcachedi586 | Advisory build | 1.2.6-5.17.4.1 | SUSE-SU-2018:1601-1 |
| Ubuntu | trusty | memcached | Advisory build | 1.4.14-0ubuntu9.2 | USN-3588-1 |
| Alpine Linux | v3.4 | memcached | Fixed | 1.4.33-r1 | Package fix record |
| Alpine Linux | v3.5 | memcached | Fixed | 1.4.33-r1 | Package fix record |
| Alpine Linux | v3.6 | memcached | Fixed | 1.4.36-r1 | Package fix record |
Show 27 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | stretch | memcached | Advisory build | 1.4.33-1+deb9u1 | DSA-4218-1 |
| Debian | wheezy | memcached | Advisory build | 1.4.13-0.2+deb7u3 | DLA-1033-1 |
| SUSE / openSUSE | SLE-11-SP4 | memcachedia64 | Advisory build | 1.2.6-5.17.4.1 | SUSE-SU-2018:1601-1 |
| SUSE / openSUSE | SLE-11-SP4 | memcachedppc64 | Advisory build | 1.2.6-5.17.4.1 | SUSE-SU-2018:1601-1 |
| SUSE / openSUSE | SLE-11-SP4 | memcacheds390x | Advisory build | 1.2.6-5.17.4.1 | SUSE-SU-2018:1601-1 |
| SUSE / openSUSE | SLE-11-SP4 | memcachedx86_64 | Advisory build | 1.2.6-5.17.4.1 | SUSE-SU-2018:1601-1 |
| SUSE / openSUSE | SLE-12-SP2 | memcachedaarch64 | Advisory build | 1.4.39-4.3.1 | SUSE-SU-2018:0839-1 |
| SUSE / openSUSE | SLE-12-SP2 | memcachedppc64le | Advisory build | 1.4.39-4.3.1 | SUSE-SU-2018:0839-1 |
| SUSE / openSUSE | SLE-12-SP2 | memcacheds390x | Advisory build | 1.4.39-4.3.1 | SUSE-SU-2018:0839-1 |
| SUSE / openSUSE | SLE-12-SP2 | memcachedx86_64 | Advisory build | 1.4.39-4.3.1 | SUSE-SU-2018:0839-1 |
| SUSE / openSUSE | SLE-12-SP2 | memcached-develaarch64 | Advisory build | 1.4.39-4.3.1 | SUSE-SU-2018:0839-1 |
| SUSE / openSUSE | SLE-12-SP2 | memcached-develppc64le | Advisory build | 1.4.39-4.3.1 | SUSE-SU-2018:0839-1 |
| SUSE / openSUSE | SLE-12-SP2 | memcached-devels390x | Advisory build | 1.4.39-4.3.1 | SUSE-SU-2018:0839-1 |
| SUSE / openSUSE | SLE-12-SP2 | memcached-develx86_64 | Advisory build | 1.4.39-4.3.1 | SUSE-SU-2018:0839-1 |
| SUSE / openSUSE | SLE-12-SP3 | memcachedaarch64 | Advisory build | 1.4.39-4.3.1 | SUSE-SU-2018:0839-1 |
| SUSE / openSUSE | SLE-12-SP3 | memcachedppc64le | Advisory build | 1.4.39-4.3.1 | SUSE-SU-2018:0839-1 |
| SUSE / openSUSE | SLE-12-SP3 | memcacheds390x | Advisory build | 1.4.39-4.3.1 | SUSE-SU-2018:0839-1 |
| SUSE / openSUSE | SLE-12-SP3 | memcachedx86_64 | Advisory build | 1.4.39-4.3.1 | SUSE-SU-2018:0839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | memcachedaarch64 | Advisory build | 1.6.9-2.3 | OPENSUSE-SU-2024:11045-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | memcachedppc64le | Advisory build | 1.6.9-2.3 | OPENSUSE-SU-2024:11045-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | memcacheds390x | Advisory build | 1.6.9-2.3 | OPENSUSE-SU-2024:11045-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | memcachedx86_64 | Advisory build | 1.6.9-2.3 | OPENSUSE-SU-2024:11045-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | memcached-develaarch64 | Advisory build | 1.6.9-2.3 | OPENSUSE-SU-2024:11045-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | memcached-develppc64le | Advisory build | 1.6.9-2.3 | OPENSUSE-SU-2024:11045-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | memcached-devels390x | Advisory build | 1.6.9-2.3 | OPENSUSE-SU-2024:11045-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | memcached-develx86_64 | Advisory build | 1.6.9-2.3 | OPENSUSE-SU-2024:11045-1 |
| Ubuntu | xenial | memcached | Advisory build | 1.4.25-2ubuntu1.3 | USN-3588-1 |
Description
The try_read_command function in memcached.c in memcached before 1.4.39 allows remote attackers to cause a denial of service (segmentation fault) via a request to add/set a key, which makes a comparison between signed and unsigned int and triggers a heap-based buffer over-read. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-8705.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
6- 99874 http://www.securityfocus.com/bid/99874
- https://github.com/memcached/memcached/wiki/ReleaseNotes1439
- https://groups.google.com/forum/message/raw?msg=memcached/ubGWrkmrr4E/nrm1SeVJAQAJ
- USN-3588-1 https://usn.ubuntu.com/3588-1/
- DSA-4218 https://www.debian.org/security/2018/dsa-4218
- https://www.twistlock.com/2017/07/13/cve-2017-9951-heap-overflow-memcached-server-1-4-38-twistlock-vulnerability-report/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 45be81e3ba46a54f0133bcbea620aa78d36f86ca93ad194267adcb797bbf3e6f
- Ingested
- 23 Sep 2026, 07:43:10 UTC
- Source record
- Official CVE record