{"api_version":"1","generated_at":"2026-04-23T09:52:04+00:00","cve":"CVE-2018-12326","urls":{"html":"https://cve.report/CVE-2018-12326","api":"https://cve.report/api/cve/CVE-2018-12326.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-12326","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-12326"},"summary":{"title":"CVE-2018-12326","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2018-06-17 14:29:00","updated_at":"2019-01-17 11:29:00"},"problem_types":["CWE-119"],"metrics":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2019:0052","name":"RHSA-2019:0052","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50","name":"https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Security: fix redis-cli buffer overflow. · antirez/redis@9fdcc15 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0","name":"https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0","refsource":"MISC","tags":["Third Party Advisory"],"title":"CVE-2018-12326 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2019:1860","name":"RHSA-2019:1860","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES","name":"https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES","name":"https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2019:0094","name":"RHSA-2019:0094","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/44904/","name":"44904","refsource":"EXPLOIT-DB","tags":["Exploit","Third Party Advisory","VDB Entry"],"title":"Redis-cli < 5.0 - Buffer Overflow (PoC) - Linux local Exploit","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-12326","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-12326","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"12326","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redislabs","cpe5":"redis","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"12326","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redislabs","cpe5":"redis","cpe6":"5.0","cpe7":"rc1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"12326","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redislabs","cpe5":"redis","cpe6":"5.0","cpe7":"rc2","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"12326","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redislabs","cpe5":"redis","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"12326","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redislabs","cpe5":"redis","cpe6":"5.0","cpe7":"rc1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"12326","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redislabs","cpe5":"redis","cpe6":"5.0","cpe7":"rc2","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-12326","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0","refsource":"MISC","url":"https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0"},{"name":"44904","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/44904/"},{"name":"RHSA-2019:0052","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:0052"},{"name":"RHSA-2019:0094","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:0094"},{"name":"https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50","refsource":"MISC","url":"https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50"},{"name":"https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES","refsource":"MISC","url":"https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES"},{"name":"https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES","refsource":"MISC","url":"https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES"},{"refsource":"REDHAT","name":"RHSA-2019:1860","url":"https://access.redhat.com/errata/RHSA-2019:1860"}]}},"nvd":{"publishedDate":"2018-06-17 14:29:00","lastModifiedDate":"2019-01-17 11:29:00","problem_types":["CWE-119"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.4,"baseSeverity":"HIGH"},"exploitabilityScore":2.5,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":4.6},"severity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redislabs:redis:*:*:*:*:*:*:*:*","versionEndExcluding":"4.0.10","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redislabs:redis:5.0:rc1:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redislabs:redis:5.0:rc2:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"12326","Ordinal":"128844","Title":"CVE-2018-12326","CVE":"CVE-2018-12326","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"12326","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"12326","Ordinal":"2","NoteData":"2018-06-17","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"12326","Ordinal":"3","NoteData":"2019-07-25","Type":"Other","Title":"Modified"}]}}}