
CVE catalog
CVE-2017-9951
memcached: CVE-2017-9951
- Severity
- Critical · CVSS 9.1
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | memcached | sid | 1.6.45-1 | fixed |
| Debian | memcached | forky | 1.6.45-1 | fixed |
| Debian | memcached | trixie | 1.6.38-1 | fixed |
| Debian | memcached | bookworm | 1.6.18-1 | fixed |
| Debian | memcached | bookworm-security | 1.6.18-1+deb12u1 | fixed |
| Alpine | memcached | 3.3 | 1.4.33-r1 | fixed |
| Alpine | memcached | 3.4 | 1.4.33-r1 | fixed |
| Alpine | memcached | 3.5 | 1.4.33-r1 | fixed |
| Alpine | memcached | 3.6 | 1.4.36-r1 | fixed |
| Ubuntu | memcached | 14.04 | 1.4.14-0ubuntu4 | vulnerable |
| Ubuntu | memcached | 14.04 | 1.4.14-0ubuntu8 | vulnerable |
| Ubuntu | memcached | 14.04 | 1.4.14-0ubuntu9 | vulnerable |
| Ubuntu | memcached | 14.04 | 1.4.14-0ubuntu9.1 | vulnerable |
| Ubuntu | memcached | 14.04 | 1.4.14-0ubuntu9.2 | fixed |
| Ubuntu | memcached | 16.04 | 1.4.24-2ubuntu1 | vulnerable |
| Ubuntu | memcached | 16.04 | 1.4.25-1ubuntu2 | vulnerable |
| Ubuntu | memcached | 16.04 | 1.4.25-2ubuntu1 | vulnerable |
| Ubuntu | memcached | 16.04 | 1.4.25-2ubuntu1.2 | vulnerable |
| Ubuntu | memcached | 16.04 | 1.4.25-2ubuntu1.3 | fixed |
| Ubuntu | memcached | 14.04 | 1.4.14-0ubuntu4 | vulnerable |
| Ubuntu | memcached | 14.04 | 1.4.14-0ubuntu8 | vulnerable |
| Ubuntu | memcached | 14.04 | 1.4.14-0ubuntu9 | vulnerable |
| Ubuntu | memcached | 14.04 | 1.4.14-0ubuntu9.1 | vulnerable |
| Ubuntu | memcached | 14.04 | 1.4.14-0ubuntu9.2 | fixed |
| Ubuntu | memcached | 16.04 | 1.4.24-2ubuntu1 | vulnerable |
| Ubuntu | memcached | 16.04 | 1.4.25-1ubuntu2 | vulnerable |
| Ubuntu | memcached | 16.04 | 1.4.25-2ubuntu1 | vulnerable |
| Ubuntu | memcached | 16.04 | 1.4.25-2ubuntu1.2 | vulnerable |
| Ubuntu | memcached | 16.04 | 1.4.25-2ubuntu1.3 | fixed |
| Opensuse | memcached | tumbleweed | 1.6.9-2.3 | fixed |
| Suse | memcached | linux enterprise server for raspberry pi 12 sp2 | 1.4.39-4.3.1 | fixed |
| Suse | memcached | linux enterprise software development kit 12 sp2 | 1.4.39-4.3.1 | fixed |
| Suse | memcached | linux enterprise server 12 sp2 | 1.4.39-4.3.1 | fixed |
| Suse | memcached | linux enterprise server for sap applications 12 sp2 | 1.4.39-4.3.1 | fixed |
| Suse | memcached | linux enterprise server 12 sp3 | 1.4.39-4.3.1 | fixed |
| Suse | memcached | linux enterprise server for sap applications 12 sp3 | 1.4.39-4.3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | memcached | source | sid | 1.5.0-1 | not yet assigned | Not reported | [868701] |
| Debian | memcached | source | forky | 1.5.0-1 | not yet assigned | Not reported | [868701] |
| Debian | memcached | source | trixie | 1.5.0-1 | not yet assigned | Not reported | [868701] |
| Debian | memcached | source | bookworm | 1.5.0-1 | not yet assigned | Not reported | [868701] |
| Alpine | memcached | apk | 3.3 | 1.4.33-r1 | Not reported | ALPINE-CVE-2017-9951 | Not reported |
| Alpine | memcached | apk | 3.4 | 1.4.33-r1 | Not reported | ALPINE-CVE-2017-9951 | Not reported |
| Alpine | memcached | apk | 3.5 | 1.4.33-r1 | Not reported | ALPINE-CVE-2017-9951 | Not reported |
| Alpine | memcached | apk | 3.6 | 1.4.36-r1 | Not reported | ALPINE-CVE-2017-9951 | Not reported |
| Ubuntu | memcached | deb | 14.04 | 1.4.14-0ubuntu9.2 | Not reported | USN-3588-1 | Not reported |
| Ubuntu | memcached | deb | 16.04 | 1.4.25-2ubuntu1.3 | Not reported | USN-3588-1 | Not reported |
| Ubuntu | memcached | deb | 14.04 | 1.4.14-0ubuntu9.2 | Not reported | UBUNTU-CVE-2017-9951 | Not reported |
| Ubuntu | memcached | deb | 16.04 | 1.4.25-2ubuntu1.3 | Not reported | UBUNTU-CVE-2017-9951 | Not reported |
| Opensuse | memcached | rpm | tumbleweed | 1.6.9-2.3 | Not reported | OPENSUSE-SU-2024:11045-1 | Not reported |
| Suse | memcached | rpm | linux enterprise server for raspberry pi 12 sp2 | 1.4.39-4.3.1 | Not reported | SUSE-SU-2018:0839-1 | Not reported |
| Suse | memcached | rpm | linux enterprise software development kit 12 sp2 | 1.4.39-4.3.1 | Not reported | SUSE-SU-2018:0839-1 | Not reported |
| Suse | memcached | rpm | linux enterprise server 12 sp2 | 1.4.39-4.3.1 | Not reported | SUSE-SU-2018:0839-1 | Not reported |
| Suse | memcached | rpm | linux enterprise server for sap applications 12 sp2 | 1.4.39-4.3.1 | Not reported | SUSE-SU-2018:0839-1 | Not reported |
| Suse | memcached | rpm | linux enterprise server 12 sp3 | 1.4.39-4.3.1 | Not reported | SUSE-SU-2018:0839-1 | Not reported |
| Suse | memcached | rpm | linux enterprise server for sap applications 12 sp3 | 1.4.39-4.3.1 | Not reported | SUSE-SU-2018:0839-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [memcached-devel]Unknown
Source package: [memcached]
Details (1)
1.6.45-1.1· x86_64 · tumbleweedUnknown · Fixed:
1.6.9-2.3Version impact unknown
dsa · memcached · opensuse · tumbleweed
- [memcached]Fixed
Source package: [memcached]
Details (1)
1.6.45-1.1· x86_64 · tumbleweedFixed · Fixed:
1.6.9-2.3dsa · memcached · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [memcached]Fixed
Details (2)
1.6.18-1· amd64 · bookwormFixed · Fixed:
1.5.0-1dsa · memcached · debian · bookworm; dsa · memcached · debian · 12
1.6.18-1· arm64 · bookwormFixed · Fixed:
1.5.0-1dsa · memcached · debian · bookworm; dsa · memcached · debian · 12
[Debian 13 (Trixie)]
- [memcached]Fixed
Details (2)
1.6.38-1· amd64 · trixieFixed · Fixed:
1.5.0-1dsa · memcached · debian · 13
1.6.38-1· arm64 · trixieFixed · Fixed:
1.5.0-1dsa · memcached · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2018_0778-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2017-9951]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2017-9951]
- [https://osv.dev/vulnerability/DLA-1033-1]
- [https://osv.dev/vulnerability/DSA-4218-1]
- [https://osv.dev/vulnerability/SUSE-SU-2018:0839-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-9951]
- [https://osv.dev/vulnerability/USN-3588-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11045-1]
- [https://security-tracker.debian.org/tracker/CVE-2017-9951]
- [https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-9951.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]