{"id":"CVE-2018-12326","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-12326","generatedAt":"2026-10-29T00:58:39.313Z","title":"Buffer overflow in redis-cli of Redis before 4.0.10 and 5.x before 5.0 RC3 allows an attacker to achieve code execution and escalate to higher privileges via a crafted command line.","description":"Buffer overflow in redis-cli of Redis before 4.0.10 and 5.x before 5.0 RC3 allows an attacker to achieve code execution and escalate to higher privileges via a crafted command line. NOTE: It is unclear whether there are any common situations in which redis-cli is used with, for example, a -h (aka hostname) argument from an untrusted source.","published":"2018-06-17T14:29:00.000Z","lastModified":"2026-06-17T01:37:34.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":8.4,"severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-119"],"affected":["redislabs/redis"],"epss":{"score":0.02582,"percentile":0.85147,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2018-06-18","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":44904,"kind":"exploit","title":"Redis-cli < 5.0 - Buffer Overflow (PoC)","url":"https://www.exploit-db.com/exploits/44904","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/44904.py","file":"exploits/linux/local/44904.py","published":"2018-06-18","added":"2018-06-18","updated":"2018-06-19","author":"Fakhri Zulkifli","type":"local","platform":"linux","port":null,"verified":false,"codes":["CVE-2018-12326"],"tags":"Denial of Service (DoS)","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"A public exploit is published in Exploit-DB and the impact is high, while EPSS rates exploitation at 2.6%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use."},"changes":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2019:0052","source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2019:0094","source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2019:1860","source":"cve@mitre.org"},{"url":"https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.exploit-db.com/exploits/44904/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2019:0052","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2019:0094","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2019:1860","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/44904/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-12326","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}