{"schemaVersion":3,"id":"CVE-2018-11218","aliases":["ALPINE-CVE-2018-11218","UBUNTU-CVE-2018-11218","DEBIAN-CVE-2018-11218"],"status":"published","duplicateOf":null,"title":null,"description":"Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10, and 5.x before 5.0 RC2 because of stack-based buffer overflows.","dates":{"published":"2018-06-17T17:00:00.000Z","modified":"2024-08-05T08:01:52.448Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.59006,"percentile":0.99105,"severity":"critical","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.59006},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.73691,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.59006,"percentile":0.99105}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.73691,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.59006,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.59006,"percentile":0.99105}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_ANTIREZ_REDIS","name":"Redis","source":"github","url":"https://github.com/antirez/redis/issues/2855","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_851453044A19FF28","name":"Exploit Reference (antirez.com)","source":"reference","url":"http://antirez.com/news/119","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"MSF_EXPLOIT_LINUX_REDIS_REDIS_REPLICATION_CMD_EXEC","name":"Redis Replication Code Execution","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/redis/redis_replication_cmd_exec.rb","maturity":"weaponized","reliabilityScore":0.6666666666666666,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/redis/redis_replication_cmd_exec","rank":"400","rankName":"good","postAuth":false,"check":true,"stability":["service-resource-loss"],"sideEffects":["artifacts-on-disk","config-changes","ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":3,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"redis","name":"redis","label":"redis","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/redis","purlType":"apk","versions":[{"text":"≥ 4.0, < 3.2.12-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0, < 4.0.10-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0, < 3.2.12-r0 | ≥ 4.0, < 4.0.10-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"redis","name":"redis","label":"redis","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/redis","purlType":"deb","versions":[{"text":"< 5:4.0.10-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5:4.0.10-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"redis","name":"redis","label":"redis","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/redis","purlType":"deb","versions":[{"text":"< 2:2.8.4-2ubuntu0.2","noFixRecorded":false,"fixedIn":null},{"text":"< 2:3.0.6-1ubuntu0.2","noFixRecorded":false,"fixedIn":null},{"text":"< 5:4.0.9-1ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:2.8.4-2ubuntu0.2 | < 2:3.0.6-1ubuntu0.2 | < 5:4.0.9-1ubuntu0.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"oracle","product":"communications_operations_monitor","name":"communications operations monitor","label":"communications_operations_monitor","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.4","noFixRecorded":false,"fixedIn":null},{"text":"4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.4 | 4.0","eol":null,"hubHref":"/vendor/oracle/communications_operations_monitor"},{"vendor":"redhat","product":"openstack","name":"openstack","label":"openstack","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"10","noFixRecorded":false,"fixedIn":null},{"text":"13","noFixRecorded":false,"fixedIn":null}],"versionsText":"10 | 13","eol":null,"hubHref":"/vendor/redhat/openstack"},{"vendor":"redislabs","product":"redis","name":"redis","label":"redis","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.2.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0, < 4.0.10","noFixRecorded":false,"fixedIn":null},{"text":"5.0:rc1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.2.12 | ≥ 4.0, < 4.0.10 | 5.0:rc1","eol":null,"hubHref":"/vendor/redislabs/redis"}],"affectedCount":7,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://www.securityfocus.com/bid/104553","label":"www.securityfocus.com/bid/104553","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://github.com/antirez/redis/issues/5017","label":"github.com/antirez/redis/issues/5017","hostname":"github.com","tags":["X Refsource MISC","Third Party Advisory","REPORT"]},{"url":"https://www.debian.org/security/2018/dsa-4230","label":"www.debian.org/security/2018/dsa-4230","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory","REPORT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0052","label":"access.redhat.com/errata/RHSA-2019:0052","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://github.com/antirez/redis/commit/5ccb6f7a791bf3490357b00a898885759d98bab0","label":"github.com/antirez/redis/commit/5ccb6f7a791bf3490357b00a898885759d98bab0","hostname":"github.com","tags":["X Refsource MISC","Patch","Third Party Advisory","REPORT"]},{"url":"http://antirez.com/news/119","label":"antirez.com/news/119","hostname":"antirez.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","REPORT"]},{"url":"https://github.com/antirez/redis/commit/52a00201fca331217c3b4b8b634f6a0f57d6b7d3","label":"github.com/antirez/redis/commit/52a00201fca331217c3b4b8b634f6a0f57d6b7d3","hostname":"github.com","tags":["X Refsource MISC","Exploit","Patch","Third Party Advisory","REPORT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0094","label":"access.redhat.com/errata/RHSA-2019:0094","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES","label":"raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES","hostname":"raw.githubusercontent.com","tags":["X Refsource MISC","Third Party Advisory","REPORT"]},{"url":"https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES","label":"raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES","hostname":"raw.githubusercontent.com","tags":["X Refsource MISC","Third Party Advisory","REPORT"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html","label":"www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html","hostname":"www.oracle.com","tags":["X Refsource MISC","Patch","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1860","label":"access.redhat.com/errata/RHSA-2019:1860","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://security.gentoo.org/glsa/201908-04","label":"security.gentoo.org/glsa/201908-04","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-11218","label":"security.alpinelinux.org/vuln/CVE-2018-11218","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-11218","label":"ubuntu.com/security/CVE-2018-11218","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-11218","label":"www.cve.org/CVERecord?id=CVE-2018-11218","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-11218","label":"security-tracker.debian.org/tracker/CVE-2018-11218","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1396-1","DSA-4230-1","MGASA-2018-0309","OPENSUSE-SU-2024:11299-1","RHSA-2019:0052","RHSA-2019:0094","RHSA-2019:1860","SUSE-OU-2020:3291-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11299-1","SUSE-OU-2020:3291-1"]},"timeline":[{"kind":"published","date":"2018-06-17T17:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T08:01:52.448Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T11:02:40.710Z","stale":false,"partial":false}}