Every CVE Search/ Get API key

CVE-2017-9951

The try_read_command function in memcached.c in memcached before 1.4.39 allows remote attackers...

7.5 HighFix available

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

4.17%Up 1.9 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
memcached
Alpine:v3.3
before 1.4.33-r1
1.4.33-r1
memcached
Alpine:v3.4
before 1.4.33-r1
1.4.33-r1
memcached
Alpine:v3.5
before 1.4.33-r1
1.4.33-r1
memcached
Alpine:v3.6
before 1.4.36-r1
1.4.36-r1
memcached
Debian:12
before 1.5.0-1
1.5.0-1
memcached
Debian:13
before 1.5.0-1
1.5.0-1
memcached
Debian:14
before 1.5.0-1
1.5.0-1
memcached
Debian: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
memcached
Debian: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
memcached
Debian: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
Affected packages
PackageAffectedFixed
memcached
Mageia:5
before 1.4.39-1.mga5
1.4.39-1.mga5
memcached
Mageia:6
before 1.4.39-1.mga6
1.4.39-1.mga6
memcached
SUSE:OpenStack Cloud 7
From an advisory covering 9 CVEs
before 1.4.39-3.3.2
1.4.39-3.3.2
memcached
SUSE:Enterprise Storage 4
From an advisory covering 9 CVEs
before 1.4.39-3.3.2
1.4.39-3.3.2
memcached
SUSE:OpenStack Cloud 6
From an advisory covering 9 CVEs
before 1.4.39-3.3.1
1.4.39-3.3.1
memcached
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 1.4.39-4.3.1
1.4.39-4.3.1
memcached
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 1.4.39-4.3.1
1.4.39-4.3.1
memcached
SUSE:Linux Enterprise Server 12 SP2
before 1.4.39-4.3.1
1.4.39-4.3.1
memcached
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 1.4.39-4.3.1
1.4.39-4.3.1
memcached
SUSE:Linux Enterprise Server 12 SP3
before 1.4.39-4.3.1
1.4.39-4.3.1
memcached
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 1.4.39-4.3.1
1.4.39-4.3.1
memcached
SUSE: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
memcached
SUSE: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
memcached
SUSE: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
memcached
Ubuntu: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
memcached
Ubuntu: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
memcached
Ubuntu: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
memcached
Ubuntu: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
memcached
openSUSE:Tumbleweed
From an advisory covering 4 CVEs
before 1.6.9-2.3
1.6.9-2.3

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 36 moreShow less
MoveEnter Open