{"id":"CVE-2018-12326","aliases":["DEBIAN-CVE-2018-12326","DLA-1396-1","DSA-4230-1","EUVD-2018-4300","GHSA-8829-5g6p-wqm9","RHSA-2019:0052","RHSA-2019:0094","RHSA-2019:1860","UBUNTU-CVE-2018-12326"],"status":"published","title":"Buffer overflow in redis-cli of Redis before 4.0.10 and 5.x before 5.0 RC3 allows an attacker to...","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.","severity":{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.02582,"percentile":0.85358,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-119"],"published":"2018-06-17T00:00:00Z","modified":"2026-10-24T14:10:58Z","exploits":[{"source":"exploitdb","id":"EDB-44904","title":"Redis-cli \u003c 5.0 - Buffer Overflow (PoC)","type":"local","platform":"linux","date":"2018-06-18","url":"https://www.exploit-db.com/exploits/44904"},{"source":"pocgithub","id":"spasm5/CVE-2018-12326","title":"spasm5/CVE-2018-12326","date":"2022-03-25","url":"https://github.com/spasm5/CVE-2018-12326"}],"fixes":[{"ecosystem":"Debian:12","package":"redis","fixed_in":["5:4.0.10-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"redis","fixed_in":["5:4.0.10-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"redis","fixed_in":["5:4.0.10-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"redis","fixed_in":["2:2.8.4-2ubuntu0.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"redis","fixed_in":["2:3.0.6-1ubuntu0.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"redis","fixed_in":["5:4.0.9-1ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"redis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5:4.0.10-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"redis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5:4.0.10-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"redis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5:4.0.10-1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"redis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:2.8.17-1+deb8u6"}]}],"versions":["2:2.8.17-1","2:2.8.17-1+deb8u1","2:2.8.17-1+deb8u2","2:2.8.17-1+deb8u3","2:2.8.17-1+deb8u4","2:2.8.17-1+deb8u5"],"bundled":3},{"source":"osv","ecosystem":"Debian:9","package":"redis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:3.2.6-3+deb9u1"}]}],"versions":["3:3.2.6-1","3:3.2.6-2","3:3.2.6-3"],"bundled":3},{"source":"osv","ecosystem":"Red Hat:openstack:10::el7","package":"redis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.6-4.el7ost"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:openstack:10::el7","package":"redis-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.0.6-4.el7ost"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:openstack:13::el7","package":"redis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.2.8-3.el7ost"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:openstack:13::el7","package":"redis-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.2.8-3.el7ost"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhel_software_collections:3::el6","package":"rh-redis32-redis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.2.13-1.el6"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:rhel_software_collections:3::el6","package":"rh-redis32-redis-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.2.13-1.el6"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:rhel_software_collections:3::el7","package":"rh-redis32-redis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.2.13-1.el7"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:rhel_software_collections:3::el7","package":"rh-redis32-redis-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.2.13-1.el7"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"redis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:2.8.4-2ubuntu0.2"}]}],"versions":["2:2.6.13-1","2:2.6.16-3","2:2.8.0-1","2:2.8.2-1","2:2.8.4-2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"redis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:3.0.6-1ubuntu0.2"}]}],"versions":["2:3.0.3-3","2:3.0.5-1","2:3.0.5-2","2:3.0.5-3","2:3.0.5-4","2:3.0.6-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"redis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5:4.0.9-1ubuntu0.1"}]}],"versions":["4:4.0.1-7","4:4.0.2-6","4:4.0.2-9","5:4.0.5-1","5:4.0.6-1","5:4.0.6-2","5:4.0.7-1","5:4.0.8-1","5:4.0.8-2","5:4.0.9-1"]}],"products":[{"vendor":"redislabs","product":"redis"}],"references":[{"url":"https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://www.exploit-db.com/exploits/44904/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0052","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0094","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","article","report"]},{"url":"https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","article","report"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1860","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-12326","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-8829-5g6p-wqm9"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-12326","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1590062","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1590067","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1594291","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_0052.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-11218","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-11218","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-11218","tags":["advisory"]},{"url":"http://antirez.com/news/119","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-11219","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-11219","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-11219","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-12326","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-12326","tags":["advisory","report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_0094.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1723918","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_1860.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-10192","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-10192","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10192","tags":["advisory"]},{"url":"https://raw.githubusercontent.com/antirez/redis/3.2/00-RELEASENOTES","tags":["article"]},{"url":"https://ubuntu.com/security/CVE-2018-12326","tags":["report"]}],"sources":{"cve":[{"id":"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.","status":"published","published":"2018-06-17T14:00:00Z","modified":"2024-08-05T08:30:59.784Z","updated_at":"2026-11-02T14:35:06.679212Z"}],"euvd":[{"id":"EUVD-2018-4300","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.","status":"published","published":"2018-06-17T14:00:00Z","modified":"2024-08-05T08:30:59Z","updated_at":"2026-11-03T02:39:53.14558Z"}],"ghsa":[{"id":"GHSA-8829-5g6p-wqm9","title":"Buffer overflow in redis-cli of Redis before 4.0.10 and 5.x before 5.0 RC3 allows an attacker to...","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.","status":"published","published":"2022-05-14T01:40:18Z","modified":"2023-02-02T05:04:05Z","cvss":[{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:51:47.403205Z"}],"nvd":[{"id":"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.","status":"published","published":"2018-06-17T14:29:00.26Z","modified":"2026-06-17T01:37:33.93Z","cvss":[{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:04:29.837913Z"}],"osv":[{"id":"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.","status":"published","published":"2018-06-17T14:29:00.26Z","modified":"2026-10-24T14:10:58.797261927Z","cvss":[{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:07.934182Z"},{"id":"DEBIAN-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.","status":"published","published":"2018-06-17T14:29:00.26Z","modified":"2026-10-23T18:02:58.431286464Z","cvss":[{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:30.290351Z"},{"id":"RHSA-2019:0052","title":"Red Hat Security Advisory: redis security update","status":"published","published":"2024-09-13T16:54:32Z","modified":"2026-08-05T10:05:54Z","cvss":[{"version":"3.0","score":6.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T15:53:05.383061Z"},{"id":"RHSA-2019:0094","title":"Red Hat Security Advisory: redis security update","status":"published","published":"2024-09-13T16:54:26Z","modified":"2026-08-05T10:05:54Z","cvss":[{"version":"3.0","score":6.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T15:53:05.383061Z"},{"id":"RHSA-2019:1860","title":"Red Hat Security Advisory: rh-redis32-redis security update","status":"published","published":"2024-09-13T19:52:50Z","modified":"2026-08-05T10:06:14Z","cvss":[{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:06.0195Z"},{"id":"UBUNTU-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.","status":"published","published":"2018-06-17T14:29:00Z","modified":"2025-09-08T16:44:54Z","cvss":[{"version":"3.0","score":8.4,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:17.014176Z"},{"id":"DLA-1396-1","title":"redis - security update","status":"published","published":"2018-06-26T00:00:00Z","modified":"2026-03-09T01:01:30.853402Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"DSA-4230-1","title":"redis - security update","status":"published","published":"2018-06-17T00:00:00Z","modified":"2026-03-09T01:23:28.314099Z","updated_at":"2026-11-02T15:46:16.862196Z"}]}}
