{"id":"UBUNTU-CVE-2017-9951","details":"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.","modified":"2026-01-30T02:27:36.352288Z","published":"2017-07-17T00:00:00Z","related":["USN-3588-1"],"upstream":["CVE-2017-9951"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-9951"},{"type":"REPORT","url":"https://www.twistlock.com/2017/07/13/cve-2017-9951-heap-overflow-memcached-server-1-4-38-twistlock-vulnerability-report/"},{"type":"REPORT","url":"https://github.com/memcached/memcached/wiki/ReleaseNotes1439"},{"type":"REPORT","url":"https://groups.google.com/forum/message/raw?msg=memcached/ubGWrkmrr4E/nrm1SeVJAQAJ"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3588-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-9951"}],"affected":[{"package":{"name":"memcached","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/memcached@1.4.14-0ubuntu9.2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.14-0ubuntu9.2"}]}],"versions":["1.4.14-0ubuntu4","1.4.14-0ubuntu8","1.4.14-0ubuntu9","1.4.14-0ubuntu9.1"],"ecosystem_specific":{"binaries":[{"binary_name":"memcached","binary_version":"1.4.14-0ubuntu9.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-9951.json"}},{"package":{"name":"memcached","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/memcached@1.4.25-2ubuntu1.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.25-2ubuntu1.3"}]}],"versions":["1.4.24-2ubuntu1","1.4.25-1ubuntu2","1.4.25-2ubuntu1","1.4.25-2ubuntu1.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"memcached","binary_version":"1.4.25-2ubuntu1.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-9951.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}