Vulnerability record · CVE-2017-9951 · published 17 July 2017
CVE-2017-9951: Memcached vulnerability
MMemcached · Memcached
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.
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.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.securityfocus.com/bid/99874 | |
| https://github.com/memcached/memcached/wiki/ReleaseNotes1439 | Third Party Advisory |
| https://groups.google.com/forum/message/raw?msg=memcached/ubGWrkmrr4E/nrm1SeVJAQAJ | Mailing ListThird Party Advisory |
| https://usn.ubuntu.com/3588-1/ | |
| 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/ | ExploitTechnical DescriptionThird Party Advisory |
| http://www.securityfocus.com/bid/99874 | |
| https://github.com/memcached/memcached/wiki/ReleaseNotes1439 | Third Party Advisory |
| https://groups.google.com/forum/message/raw?msg=memcached/ubGWrkmrr4E/nrm1SeVJAQAJ | Mailing ListThird Party Advisory |
| https://usn.ubuntu.com/3588-1/ | |
| 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/ | ExploitTechnical DescriptionThird Party Advisory |
Track CVE-2017-9951 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.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2017-9951), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.