CVE-2017-9951
The try_read_command function in memcached.c in memcached before 1.4.39 allows remote attackers...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2017-9951- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-9951- Updated
- 2026-11-02
EUVDEUVD-2017-18861 No score
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.
- Record
EUVD-2017-18861- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-vpcm-5gwm-79h2
7.5
The try_read_command function in memcached.c in memcached before 1.4.39 allows remote attackers...
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.
- Record
GHSA-vpcm-5gwm-79h2- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVALPINE-CVE-2017-9951
7.5
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.
- Record
ALPINE-CVE-2017-9951- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2017-9951- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 9 moreShow less
OSVDEBIAN-CVE-2017-9951
7.5
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.
- Record
DEBIAN-CVE-2017-9951- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-9951
7.5
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.
- Record
UBUNTU-CVE-2017-9951- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0441 No score
Updated memcached packages fix security vulnerability
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 (CVE-2017-9951).
- Record
MGASA-2017-0441- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11045-1 No score
memcached-1.6.9-2.3 on GA media
These are all security issues fixed in the memcached-1.6.9-2.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11045-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0778-1 No score
Security update for memcached
This update for memcached fixes the following issues:
Security issues fixed:
- CVE-2011-4971: remote DoS (bsc#817781).
- CVE-2013-0179: DoS when printing out keys to be deleted in verbose mode (bsc#798458).
- CVE-2013-7239: SASL authentication allows wrong credentials to access memcache (bsc#857188).
- CVE-2013-7290: remote DoS (segmentation fault) via a request to delete a key (bsc#858677).
- CVE-2013-7291: remote DoS (crash) via a request that triggers 'unbounded key print' (bsc#858676).
- CVE-2016-8704: Server append/prepend remote code execution (bsc#1007871).
- CVE-2016-8705: Server update remote code execution (bsc#1007870).
- CVE-2016-8706: Server ASL authentication remote code execution (bsc#1007869).
- CVE-2017-9951: Heap-based buffer over-read in try_read_command function (incomplete fix for CVE-2016-8705) (bsc#1056865).
- Record
SUSE-SU-2018:0778-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0807-1 No score
Security update for memcached
This update for memcached fixes the following issues:
Security issues fixed:
- CVE-2011-4971: remote DoS (bsc#817781).
- CVE-2013-0179: DoS when printing out keys to be deleted in verbose mode (bsc#798458).
- CVE-2013-7239: SASL authentication allows wrong credentials to access memcache (bsc#857188).
- CVE-2013-7290: remote DoS (segmentation fault) via a request to delete a key (bsc#858677).
- CVE-2013-7291: remote DoS (crash) via a request that triggers 'unbounded key print' (bsc#858676).
- CVE-2016-8704: Server append/prepend remote code execution (bsc#1007871).
- CVE-2016-8705: Server update remote code execution (bsc#1007870).
- CVE-2016-8706: Server ASL authentication remote code execution (bsc#1007869).
- CVE-2017-9951: Heap-based buffer over-read in try_read_command function (incomplete fix for CVE-2016-8705) (bsc#1056865).
- Record
SUSE-SU-2018:0807-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0839-1 No score
Security update for memcached
This update for memcached fixes the following issues:
- CVE-2017-9951: Fixed heap-based buffer over-read in try_read_command function which allowed remote attackers to cause a denial of service attack (bsc#1056865).
- Record
SUSE-SU-2018:0839-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:1601-1 No score
Security update for memcached
This update fixes the following issues:
- CVE-2016-8705: Server update remote code execution (bsc#1007870).
- CVE-2017-9951: Heap-based buffer over-read in try_read_command function (incomplete fix for CVE-2016-8705) (bsc#1056865).
- Record
SUSE-SU-2018:1601-1- Updated
- 2026-11-02
OSVUSN-3588-1 No score
memcached vulnerabilities
Daniel Shapira discovered an integer overflow issue in Memcached. A remote attacker could use this to cause a denial of service (daemon crash). (CVE-2017-9951)
It was discovered that Memcached listened to UDP by default. A remote attacker could use this as part of a distributed denial of service attack. (CVE-2018-1000115)
- Record
USN-3588-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
memcachedAlpine:v3.3 |
before 1.4.33-r1 | 1.4.33-r1 |
memcachedAlpine:v3.4 |
before 1.4.33-r1 | 1.4.33-r1 |
memcachedAlpine:v3.5 |
before 1.4.33-r1 | 1.4.33-r1 |
memcachedAlpine:v3.6 |
before 1.4.36-r1 | 1.4.36-r1 |
memcachedDebian:12 |
before 1.5.0-1 | 1.5.0-1 |
memcachedDebian:13 |
before 1.5.0-1 | 1.5.0-1 |
memcachedDebian:14 |
before 1.5.0-1 | 1.5.0-1 |
memcachedDebian:7 |
before 1.4.13-0.2+deb7u3, plus listed versions 1.4.13-0.21.4.13-0.2+deb7u11.4.13-0.2+deb7u2 |
1.4.13-0.2+deb7u3 |
memcachedDebian:8 From an advisory covering 3 CVEs |
before 1.4.21-1.1+deb8u2, plus listed versions 1.4.21-1.11.4.21-1.1+deb8u1 |
1.4.21-1.1+deb8u2 |
memcachedDebian:9 From an advisory covering 3 CVEs |
before 1.4.33-1+deb9u1, plus listed versions 1.4.33-1 |
1.4.33-1+deb9u1 |
Show 19 moreShow less
| Package | Affected | Fixed |
|---|---|---|
memcachedMageia:5 |
before 1.4.39-1.mga5 | 1.4.39-1.mga5 |
memcachedMageia:6 |
before 1.4.39-1.mga6 | 1.4.39-1.mga6 |
memcachedSUSE:OpenStack Cloud 7 From an advisory covering 9 CVEs |
before 1.4.39-3.3.2 | 1.4.39-3.3.2 |
memcachedSUSE:Enterprise Storage 4 From an advisory covering 9 CVEs |
before 1.4.39-3.3.2 | 1.4.39-3.3.2 |
memcachedSUSE:OpenStack Cloud 6 From an advisory covering 9 CVEs |
before 1.4.39-3.3.1 | 1.4.39-3.3.1 |
memcachedSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 1.4.39-4.3.1 | 1.4.39-4.3.1 |
memcachedSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 1.4.39-4.3.1 | 1.4.39-4.3.1 |
memcachedSUSE:Linux Enterprise Server 12 SP2 |
before 1.4.39-4.3.1 | 1.4.39-4.3.1 |
memcachedSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 1.4.39-4.3.1 | 1.4.39-4.3.1 |
memcachedSUSE:Linux Enterprise Server 12 SP3 |
before 1.4.39-4.3.1 | 1.4.39-4.3.1 |
memcachedSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 1.4.39-4.3.1 | 1.4.39-4.3.1 |
memcachedSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 2 CVEs |
before 1.2.6-5.17.4.1 | 1.2.6-5.17.4.1 |
memcachedSUSE:Studio Onsite 1.3 From an advisory covering 2 CVEs |
before 1.2.6-5.17.4.1 | 1.2.6-5.17.4.1 |
memcachedSUSE:Studio Onsite Runner 1.3 From an advisory covering 2 CVEs |
before 1.2.6-5.17.4.1 | 1.2.6-5.17.4.1 |
memcachedUbuntu:14.04:LTS |
before 1.4.14-0ubuntu9.2, plus listed versions 1.4.14-0ubuntu41.4.14-0ubuntu81.4.14-0ubuntu91.4.14-0ubuntu9.1 |
1.4.14-0ubuntu9.2 |
memcachedUbuntu:16.04:LTS |
before 1.4.25-2ubuntu1.3, plus listed versions 1.4.24-2ubuntu11.4.25-1ubuntu21.4.25-2ubuntu11.4.25-2ubuntu1.2 |
1.4.25-2ubuntu1.3 |
memcachedUbuntu:14.04:LTS From an advisory covering 2 CVEs |
before 1.4.14-0ubuntu9.2, plus listed versions 1.4.14-0ubuntu41.4.14-0ubuntu81.4.14-0ubuntu91.4.14-0ubuntu9.1 |
1.4.14-0ubuntu9.2 |
memcachedUbuntu:16.04:LTS From an advisory covering 2 CVEs |
before 1.4.25-2ubuntu1.3, plus listed versions 1.4.24-2ubuntu11.4.25-1ubuntu21.4.25-2ubuntu11.4.25-2ubuntu1.2 |
1.4.25-2ubuntu1.3 |
memcachedopenSUSE:Tumbleweed From an advisory covering 4 CVEs |
before 1.6.9-2.3 | 1.6.9-2.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-9951 is a high vulnerability (CVSS 7.5) in Memcached, published July 17, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.17%, the 90th percentile. Fixed in memcached 1.4.33-r1.
References
usn.ubuntu.com/3588-1
github.com/memcached/memcached/wiki/ReleaseNotes1439
securityfocus.com/bid/99874
debian.org/security/2018/dsa-4218
twistlock.com/2017/07/13/cve-2017-9951-heap-overflow-memcached-server-1-4-38-twistlock-vulnerability-report
groups.google.com/forum/message/raw?msg=memcached/ubGWrkmrr4E/nrm1SeVJAQAJ
Show 36 moreShow less
nvd.nist.gov/vuln/detail/CVE-2017-9951
github.com/advisories/GHSA-vpcm-5gwm-79h2
security.alpinelinux.org/vuln/CVE-2017-9951
security-tracker.debian.org/tracker/CVE-2017-9951
advisories.mageia.org/MGASA-2017-0441.html
bugs.mageia.org/show_bug.cgi?id=22068
lists.fedoraproject.org/archives/list/[email protected]/thread/EGQ5CRXRSHTKFUB5MCASDOTTZT7YR6IR
suse.com/support/update/announcement/2018/suse-su-20180778-1
bugzilla.suse.com/1007869
bugzilla.suse.com/1007870
bugzilla.suse.com/1007871
bugzilla.suse.com/1056865
bugzilla.suse.com/798458
bugzilla.suse.com/817781
bugzilla.suse.com/857188
bugzilla.suse.com/858676
bugzilla.suse.com/858677
suse.com/security/cve/CVE-2011-4971
suse.com/security/cve/CVE-2013-0179
suse.com/security/cve/CVE-2013-7239
suse.com/security/cve/CVE-2013-7290
suse.com/security/cve/CVE-2013-7291
suse.com/security/cve/CVE-2016-8704
suse.com/security/cve/CVE-2016-8705
suse.com/security/cve/CVE-2016-8706
suse.com/security/cve/CVE-2017-9951
suse.com/support/update/announcement/2018/suse-su-20180807-1
suse.com/support/update/announcement/2018/suse-su-20180839-1
suse.com/support/update/announcement/2018/suse-su-20181601-1
ubuntu.com/security/CVE-2017-9951
ubuntu.com/security/notices/USN-3588-1
cve.org/CVERecord?id=CVE-2017-9951
ubuntu.com/security/CVE-2018-1000115
suse.com/security/cve/CVE-2018-1000115
suse.com/security/cve/CVE-2018-1000127
suse.com/security/cve/CVE-2020-10931