CVE catalog

CVE-2017-9951

memcached: CVE-2017-9951

[CVE catalog]

Severity
Critical · CVSS 9.1CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
4.17% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianmemcachedsid1.6.45-1fixed
Debianmemcachedforky1.6.45-1fixed
Debianmemcachedtrixie1.6.38-1fixed
Debianmemcachedbookworm1.6.18-1fixed
Debianmemcachedbookworm-security1.6.18-1+deb12u1fixed
Alpinememcached3.31.4.33-r1fixed
Alpinememcached3.41.4.33-r1fixed
Alpinememcached3.51.4.33-r1fixed
Alpinememcached3.61.4.36-r1fixed
Ubuntumemcached14.041.4.14-0ubuntu4vulnerable
Ubuntumemcached14.041.4.14-0ubuntu8vulnerable
Ubuntumemcached14.041.4.14-0ubuntu9vulnerable
Ubuntumemcached14.041.4.14-0ubuntu9.1vulnerable
Ubuntumemcached14.041.4.14-0ubuntu9.2fixed
Ubuntumemcached16.041.4.24-2ubuntu1vulnerable
Ubuntumemcached16.041.4.25-1ubuntu2vulnerable
Ubuntumemcached16.041.4.25-2ubuntu1vulnerable
Ubuntumemcached16.041.4.25-2ubuntu1.2vulnerable
Ubuntumemcached16.041.4.25-2ubuntu1.3fixed
Ubuntumemcached14.041.4.14-0ubuntu4vulnerable
Ubuntumemcached14.041.4.14-0ubuntu8vulnerable
Ubuntumemcached14.041.4.14-0ubuntu9vulnerable
Ubuntumemcached14.041.4.14-0ubuntu9.1vulnerable
Ubuntumemcached14.041.4.14-0ubuntu9.2fixed
Ubuntumemcached16.041.4.24-2ubuntu1vulnerable
Ubuntumemcached16.041.4.25-1ubuntu2vulnerable
Ubuntumemcached16.041.4.25-2ubuntu1vulnerable
Ubuntumemcached16.041.4.25-2ubuntu1.2vulnerable
Ubuntumemcached16.041.4.25-2ubuntu1.3fixed
Opensusememcachedtumbleweed1.6.9-2.3fixed
Susememcachedlinux enterprise server for raspberry pi 12 sp21.4.39-4.3.1fixed
Susememcachedlinux enterprise software development kit 12 sp21.4.39-4.3.1fixed
Susememcachedlinux enterprise server 12 sp21.4.39-4.3.1fixed
Susememcachedlinux enterprise server for sap applications 12 sp21.4.39-4.3.1fixed
Susememcachedlinux enterprise server 12 sp31.4.39-4.3.1fixed
Susememcachedlinux enterprise server for sap applications 12 sp31.4.39-4.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmemcachedsourcesid1.5.0-1not yet assignedNot reported[868701]
Debianmemcachedsourceforky1.5.0-1not yet assignedNot reported[868701]
Debianmemcachedsourcetrixie1.5.0-1not yet assignedNot reported[868701]
Debianmemcachedsourcebookworm1.5.0-1not yet assignedNot reported[868701]
Alpinememcachedapk3.31.4.33-r1Not reportedALPINE-CVE-2017-9951Not reported
Alpinememcachedapk3.41.4.33-r1Not reportedALPINE-CVE-2017-9951Not reported
Alpinememcachedapk3.51.4.33-r1Not reportedALPINE-CVE-2017-9951Not reported
Alpinememcachedapk3.61.4.36-r1Not reportedALPINE-CVE-2017-9951Not reported
Ubuntumemcacheddeb14.041.4.14-0ubuntu9.2Not reportedUSN-3588-1Not reported
Ubuntumemcacheddeb16.041.4.25-2ubuntu1.3Not reportedUSN-3588-1Not reported
Ubuntumemcacheddeb14.041.4.14-0ubuntu9.2Not reportedUBUNTU-CVE-2017-9951Not reported
Ubuntumemcacheddeb16.041.4.25-2ubuntu1.3Not reportedUBUNTU-CVE-2017-9951Not reported
Opensusememcachedrpmtumbleweed1.6.9-2.3Not reportedOPENSUSE-SU-2024:11045-1Not reported
Susememcachedrpmlinux enterprise server for raspberry pi 12 sp21.4.39-4.3.1Not reportedSUSE-SU-2018:0839-1Not reported
Susememcachedrpmlinux enterprise software development kit 12 sp21.4.39-4.3.1Not reportedSUSE-SU-2018:0839-1Not reported
Susememcachedrpmlinux enterprise server 12 sp21.4.39-4.3.1Not reportedSUSE-SU-2018:0839-1Not reported
Susememcachedrpmlinux enterprise server for sap applications 12 sp21.4.39-4.3.1Not reportedSUSE-SU-2018:0839-1Not reported
Susememcachedrpmlinux enterprise server 12 sp31.4.39-4.3.1Not reportedSUSE-SU-2018:0839-1Not reported
Susememcachedrpmlinux enterprise server for sap applications 12 sp31.4.39-4.3.1Not reportedSUSE-SU-2018:0839-1Not reported

[Debian bug #868701]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [memcached]

    Details (1)
    • 1.6.45-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.6.9-2.3

      Version impact unknown

      dsa · memcached · opensuse · tumbleweed

  • [memcached]Fixed

    Source package: [memcached]

    Details (1)
    • 1.6.45-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 1.6.9-2.3

      dsa · memcached · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [memcached]Fixed
    Details (2)
    • 1.6.18-1 · amd64 · bookworm

      Fixed · Fixed: 1.5.0-1

      dsa · memcached · debian · bookworm; dsa · memcached · debian · 12

    • 1.6.18-1 · arm64 · bookworm

      Fixed · Fixed: 1.5.0-1

      dsa · memcached · debian · bookworm; dsa · memcached · debian · 12

[Debian 13 (Trixie)]

  • [memcached]Fixed
    Details (2)
    • 1.6.38-1 · amd64 · trixie

      Fixed · Fixed: 1.5.0-1

      dsa · memcached · debian · 13

    • 1.6.38-1 · arm64 · trixie

      Fixed · Fixed: 1.5.0-1

      dsa · memcached · debian · 13

Observed:

References