Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-9951

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-9951
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:31 UTC · Revision 1

Source evidence

CVE-2017-9951

core-osv · Original source

Published 17 Jul 2017, 13:18 UTC

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.

osv:CVE-2017-9951
Complete source record
{
  "id": "fa3c2bc0e0721d02d9b5e880f0386bf874cbee403e8791a29096554b25275297",
  "url": "https://osv.dev/vulnerability/CVE-2017-9951",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-9951",
    "summary": "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.",
    "evidence": "osv:CVE-2017-9951",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-9951",
      "aliases": [
        "CVE-2017-9951"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/memcached/memcached",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "ad909901c1aa1c38ad0409ca0b700c03a7c17932"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:memcached:memcached:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.4.38"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.4.38",
            "1.4.37",
            "1.4.36",
            "1.4.35",
            "1.4.34",
            "1.4.33",
            "1.4.32",
            "1.4.31",
            "1.4.30",
            "1.4.29",
            "1.4.28",
            "1.4.27",
            "1.4.26",
            "1.4.25",
            "1.4.24",
            "1.4.23",
            "1.4.22",
            "1.4.21",
            "1.4.20",
            "1.4.19",
            "1.4.18",
            "1.4.17",
            "1.4.16",
            "1.4.15",
            "1.4.14",
            "1.4.13",
            "1.4.12",
            "1.4.11-rc1",
            "1.4.11",
            "1.4.11-beta1",
            "1.4.10",
            "1.4.9",
            "1.4.8",
            "1.4.8-rc1",
            "1.4.7-rc1",
            "1.4.7",
            "1.4.6",
            "1.4.6-rc1",
            "1.4.5",
            "1.4.4",
            "1.4.3",
            "1.4.3-rc2",
            "1.4.3-rc1",
            "1.4.2",
            "1.4.2-rc1",
            "1.4.1",
            "1.4.1-rc1",
            "1.4.0",
            "1.4-rc1",
            "1.4.0-rc1",
            "1.3.3",
            "1.3.2",
            "1.2.4",
            "1.2.3",
            "1.2.2",
            "1.2.1",
            "1.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9951.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:29.792226305Z",
      "provider": "osv",
      "references": [
        "https://usn.ubuntu.com/3588-1/",
        "https://github.com/memcached/memcached/wiki/ReleaseNotes1439",
        "https://groups.google.com/forum/message/raw?msg=memcached/ubGWrkmrr4E/nrm1SeVJAQAJ",
        "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_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-9951",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 432410,
  "published_at": "2017-07-17T13:18:30.97+00:00"
}