CVE-2018-1000127

Source
https://cve.org/CVERecord?id=CVE-2018-1000127
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-1000127.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-1000127
Downstream
Related
Published
2018-03-13T21:29:00Z
Modified
2026-10-16T07:39:15Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "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:*:*:*:*:*:*:*"
            ],
            "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"
                }
            ],
            "vendor_product": "canonical:ubuntu_linux"
        },
        {
            "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:*:*:*:*:*:*:*"
            ],
            "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"
                }
            ],
            "vendor_product": "debian:debian_linux"
        },
        {
            "cpes": [
                "cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "10"
                        },
                        {
                            "last_affected": "10"
                        }
                    ],
                    "source": "CPE_STRING"
                }
            ],
            "vendor_product": "redhat:openstack"
        }
    ]
}
References

Affected packages

Git / github.com/memcached/memcached

Affected ranges

Type
GIT
Repo
https://github.com/memcached/memcached
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "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"
        }
    ]
}

Affected versions

1.*
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.3.2
1.3.3
1.4-rc1
1.4.0
1.4.0-rc1
1.4.1
1.4.1-rc1
1.4.10
1.4.11
1.4.11-beta1
1.4.11-rc1
1.4.12
1.4.13
1.4.14
1.4.15
1.4.16
1.4.17
1.4.18
1.4.19
1.4.2
1.4.2-rc1
1.4.20
1.4.21
1.4.22
1.4.23
1.4.24
1.4.25
1.4.26
1.4.27
1.4.28
1.4.29
1.4.3
1.4.3-rc1
1.4.3-rc2
1.4.30
1.4.31
1.4.32
1.4.33
1.4.34
1.4.35
1.4.36
1.4.4
1.4.5
1.4.6
1.4.6-rc1
1.4.7
1.4.7-rc1
1.4.8
1.4.8-rc1
1.4.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-1000127.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "116175525107071235762775892892593526687",
                "308621949887795613377179406419254760338",
                "281313450733406634634394832369241572595",
                "101408851915396029955846791138291327528",
                "261625265653122859267635819570464207182",
                "280434054283072272031618508016491721137",
                "103569882656745051580092083023746586535"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2018-1000127-17b1fd8c",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/memcached/memcached/commit/a8c4a82787b8b6c256d61bd5c42fb7f92d1bae00",
        "target": {
            "file": "memcached.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "248674664190854414244357360897815887031",
            "length": 4182
        },
        "id": "CVE-2018-1000127-84185067",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/memcached/memcached/commit/a8c4a82787b8b6c256d61bd5c42fb7f92d1bae00",
        "target": {
            "file": "memcached.c",
            "function": "process_get_command"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "175461750493000930897935924848337101969",
                "192269655367187617408254834074186477970",
                "221242958252238329203403321540853667933",
                "145913096158709222671633809507516731853",
                "48323816591972118539143361778528515586",
                "333297424530467483537118466602470704463",
                "91505168211258024554534896352683346793",
                "51013546737901549558574275492483305384",
                "254391355791058172497881152196370990023",
                "336950469602497612571733335929510696835",
                "338630215160596220277362880841591758988",
                "217943372716051384462705078436889564848",
                "63953160723002453408594560121226292737",
                "320025473947188511227975556504958860334",
                "38124705616753464304736035920851759990"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2018-1000127-d2333629",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/memcached/memcached/commit/e01bc5cca551845ea139aceefc484f303901cdc2",
        "target": {
            "file": "items.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "258462072439635049322093280535354653052",
            "length": 1697
        },
        "id": "CVE-2018-1000127-e0e7515e",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/memcached/memcached/commit/e01bc5cca551845ea139aceefc484f303901cdc2",
        "target": {
            "file": "items.c",
            "function": "lru_maintainer_crawler_check"
        }
    }
]
vanir_signatures_modified
"2026-10-16T07:39:15Z"