Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-1000127

memcached version prior to 1.4.37 contains an Integer Overflow vulnerability in items.c:item_free() that can result in data corruption and deadlocks due to items existing in hash table being reused from free list. This attack appear to be exploitable via network connectivity to the memcached service. This vulnerability appears to have been fixed in 1.4.37 and later.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-1000127
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:16 UTC · Revision 1

Source evidence

CVE-2018-1000127

core-osv · Original source

Published 13 Mar 2018, 21:29 UTC

memcached version prior to 1.4.37 contains an Integer Overflow vulnerability in items.c:item_free() that can result in data corruption and deadlocks due to items existing in hash table being reused from free list. This attack appear to be exploitable via network connectivity to the memcached service. This vulnerability appears to have been fixed in 1.4.37 and later.

osv:CVE-2018-1000127
Complete source record
{
  "id": "71e34840664a1ae858ce16a9579d5aa14d2ea7432e5b19e2271acc0b1413c0ea",
  "url": "https://osv.dev/vulnerability/CVE-2018-1000127",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-1000127",
    "summary": "memcached version prior to 1.4.37 contains an Integer Overflow vulnerability in items.c:item_free() that can result in data corruption and deadlocks due to items existing in hash table being reused from free list. This attack appear to be exploitable via network connectivity to the memcached service. This vulnerability appears to have been fixed in 1.4.37 and later.",
    "evidence": "osv:CVE-2018-1000127",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-1000127",
      "aliases": [
        "CVE-2018-1000127"
      ],
      "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"
                },
                {
                  "fixed": "e01bc5cca551845ea139aceefc484f303901cdc2"
                },
                {
                  "fixed": "a8c4a82787b8b6c256d61bd5c42fb7f92d1bae00"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:memcached:memcached:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.4.37"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a8c4a82787b8b6c256d61bd5c42fb7f92d1bae00"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "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-2018-1000127.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-1000127-17b1fd8c",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "116175525107071235762775892892593526687",
                    "308621949887795613377179406419254760338",
                    "281313450733406634634394832369241572595",
                    "101408851915396029955846791138291327528",
                    "261625265653122859267635819570464207182",
                    "280434054283072272031618508016491721137",
                    "103569882656745051580092083023746586535"
                  ]
                },
                "source": "https://github.com/memcached/memcached/commit/a8c4a82787b8b6c256d61bd5c42fb7f92d1bae00",
                "target": {
                  "file": "memcached.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-1000127-84185067",
                "digest": {
                  "length": 4182,
                  "function_hash": "248674664190854414244357360897815887031"
                },
                "source": "https://github.com/memcached/memcached/commit/a8c4a82787b8b6c256d61bd5c42fb7f92d1bae00",
                "target": {
                  "file": "memcached.c",
                  "function": "process_get_command"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-1000127-d2333629",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "175461750493000930897935924848337101969",
                    "192269655367187617408254834074186477970",
                    "221242958252238329203403321540853667933",
                    "145913096158709222671633809507516731853",
                    "48323816591972118539143361778528515586",
                    "333297424530467483537118466602470704463",
                    "91505168211258024554534896352683346793",
                    "51013546737901549558574275492483305384",
                    "254391355791058172497881152196370990023",
                    "336950469602497612571733335929510696835",
                    "338630215160596220277362880841591758988",
                    "217943372716051384462705078436889564848",
                    "63953160723002453408594560121226292737",
                    "320025473947188511227975556504958860334",
                    "38124705616753464304736035920851759990"
                  ]
                },
                "source": "https://github.com/memcached/memcached/commit/e01bc5cca551845ea139aceefc484f303901cdc2",
                "target": {
                  "file": "items.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-1000127-e0e7515e",
                "digest": {
                  "length": 1697,
                  "function_hash": "258462072439635049322093280535354653052"
                },
                "source": "https://github.com/memcached/memcached/commit/e01bc5cca551845ea139aceefc484f303901cdc2",
                "target": {
                  "file": "items.c",
                  "function": "lru_maintainer_crawler_check"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:25:24Z"
          }
        }
      ],
      "modified": "2026-10-20T13:25:24.037313119Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/errata/RHSA-2018:2290",
        "https://github.com/memcached/memcached/issues/271",
        "https://github.com/memcached/memcached/wiki/ReleaseNotes1437",
        "https://lists.debian.org/debian-lts-announce/2018/03/msg00031.html",
        "https://usn.ubuntu.com/3601-1/",
        "https://www.debian.org/security/2018/dsa-4218",
        "https://github.com/memcached/memcached/commit/a8c4a82787b8b6c256d61bd5c42fb7f92d1bae00"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "17.10"
                  },
                  {
                    "last_affected": "17.10"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  },
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:openstack",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10"
                  },
                  {
                    "last_affected": "10"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-1000127",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387662,
  "published_at": "2018-03-13T21:29:00.477+00:00"
}