Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-8704

An integer overflow in the process_bin_append_prepend function in Memcached, which is responsible for processing multiple commands of Memcached binary protocol, can be abused to cause heap overflow and lead to remote code execution.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-8704
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:50 UTC · Revision 1

Source evidence

CVE-2016-8704

core-osv · Original source

Published 6 Jan 2017, 21:59 UTC

An integer overflow in the process_bin_append_prepend function in Memcached, which is responsible for processing multiple commands of Memcached binary protocol, can be abused to cause heap overflow and lead to remote code execution.

osv:CVE-2016-8704
Complete source record
{
  "id": "8538e43bc4ce51d1418b7ddda91d868da9ad9b658cd4a8134f1753edceb70552",
  "url": "https://osv.dev/vulnerability/CVE-2016-8704",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-8704",
    "summary": "An integer overflow in the process_bin_append_prepend function in Memcached, which is responsible for processing multiple commands of Memcached binary protocol, can be abused to cause heap overflow and lead to remote code execution.",
    "evidence": "osv:CVE-2016-8704",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2016-8704",
      "aliases": [
        "CVE-2016-8704"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/memcached/memcached",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "c00dbc3927af71afb8c46c7416bd53a92fecfdb2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:memcached:memcached:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.4.31"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "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-2016-8704.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:59.145782989Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/errata/RHSA-2017:0059",
        "https://security.gentoo.org/glsa/201701-12"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2016-8704",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 439249,
  "published_at": "2017-01-06T21:59:01.79+00:00"
}