redis: Code execution in redis-cli via crafted command line arguments
Published Jun 17, 2018
8.4
HIGHCVSS 3.0
EPSS 2.68%
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.
Affected products
No data.
No data.
Red Hat OpenStack Platform 10.0 (Newton)
redis-0:3.0.6-4.el7ost
Fixed · RHSA-2019:0052
Red Hat OpenStack Platform 13.0 (Queens)
redis-0:3.2.8-3.el7ost
Fixed · RHSA-2019:0094
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-redis32-redis-0:3.2.13-1.el6
Fixed · RHSA-2019:1860
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-redis32-redis-0:3.2.13-1.el7
Fixed · RHSA-2019:1860
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-redis32-redis-0:3.2.13-1.el7
Fixed · RHSA-2019:1860
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-redis32-redis-0:3.2.13-1.el7
Fixed · RHSA-2019:1860
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-redis32-redis-0:3.2.13-1.el7
Fixed · RHSA-2019:1860
Red Hat Ceph Storage 3
grafana
Not affected
Red Hat Enterprise Linux 8
redis
Not affected
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo)
redis
Will not fix
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools
redis
Will not fix
Red Hat Mobile Application Platform 4
rhmap-redis-docker
Not affected
Red Hat OpenStack Platform 12 (Pike)
redis
Fix deferred
Red Hat OpenStack Platform 8 (Liberty)
redis
Fix deferred
Red Hat OpenStack Platform 8 (Liberty) Operational Tools
redis
Fix deferred
Red Hat OpenStack Platform 9 (Mitaka)
redis
Fix deferred
Red Hat OpenStack Platform 9 (Mitaka) Operational Tools
redis
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenStack Platform 10.0 (Newton) | redis-0:3.0.6-4.el7ost | Fixed | RHSA-2019:0052 |
| Red Hat OpenStack Platform 13.0 (Queens) | redis-0:3.2.8-3.el7ost | Fixed | RHSA-2019:0094 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-redis32-redis-0:3.2.13-1.el6 | Fixed | RHSA-2019:1860 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-redis32-redis-0:3.2.13-1.el7 | Fixed | RHSA-2019:1860 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-redis32-redis-0:3.2.13-1.el7 | Fixed | RHSA-2019:1860 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-redis32-redis-0:3.2.13-1.el7 | Fixed | RHSA-2019:1860 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-redis32-redis-0:3.2.13-1.el7 | Fixed | RHSA-2019:1860 |
| Red Hat Ceph Storage 3 | grafana | Not affected | n/a |
| Red Hat Enterprise Linux 8 | redis | Not affected | n/a |
| Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) | redis | Will not fix | n/a |
| Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools | redis | Will not fix | n/a |
| Red Hat Mobile Application Platform 4 | rhmap-redis-docker | Not affected | n/a |
| Red Hat OpenStack Platform 12 (Pike) | redis | Fix deferred | n/a |
| Red Hat OpenStack Platform 8 (Liberty) | redis | Fix deferred | n/a |
| Red Hat OpenStack Platform 8 (Liberty) Operational Tools | redis | Fix deferred | n/a |
| Red Hat OpenStack Platform 9 (Mitaka) | redis | Fix deferred | n/a |
| Red Hat OpenStack Platform 9 (Mitaka) Operational Tools | redis | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
AV:L/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (45 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 2.68% (0.02678) | 85.31th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.68% (0.02678) | 83.79th | v5 (v2026.06.15) |
| May 13, 2026 | 41.83% (0.41830) | 97.46th | v4 (v2025.03.14) |
| May 7, 2026 | 35.39% (0.35387) | 97.08th | v4 (v2025.03.14) |
| May 5, 2026 | 32.31% (0.32307) | 96.86th | v4 (v2025.03.14) |
| Apr 15, 2026 | 29.56% (0.29562) | 96.62th | v4 (v2025.03.14) |
| Dec 28, 2025 | 28.11% (0.28107) | 96.31th | v4 (v2025.03.14) |
| Dec 27, 2025 | 35.78% (0.35781) | 96.95th | v4 (v2025.03.14) |
| Nov 21, 2025 | 28.11% (0.28107) | 96.28th | v4 (v2025.03.14) |
| Nov 18, 2025 | 4.33% (0.04331) | 87.81th | v4 (v2025.03.14) |
| Oct 28, 2025 | 28.11% (0.28107) | 96.24th | v4 (v2025.03.14) |
| Oct 27, 2025 | 35.78% (0.35781) | 96.90th | v4 (v2025.03.14) |
| Oct 1, 2025 | 28.11% (0.28107) | 96.34th | v4 (v2025.03.14) |
| Aug 25, 2025 | 35.78% (0.35781) | 96.95th | v4 (v2025.03.14) |
| Aug 23, 2025 | 32.09% (0.32089) | 96.66th | v4 (v2025.03.14) |
| Jul 30, 2025 | 14.97% (0.14974) | 94.26th | v4 (v2025.03.14) |
| Jul 26, 2025 | 10.80% (0.10802) | 93.02th | v4 (v2025.03.14) |
| Jun 6, 2025 | 12.62% (0.12617) | 93.58th | v4 (v2025.03.14) |
| Jun 1, 2025 | 28.11% (0.28107) | 96.23th | v4 (v2025.03.14) |
| May 30, 2025 | 25.34% (0.25337) | 95.89th | v4 (v2025.03.14) |
| May 18, 2025 | 12.37% (0.12370) | 93.51th | v4 (v2025.03.14) |
| Apr 7, 2025 | 13.74% (0.13743) | 93.69th | v4 (v2025.03.14) |
| Mar 30, 2025 | 28.47% (0.28470) | 96.11th | v4 (v2025.03.14) |
| Mar 29, 2025 | 50.96% (0.50963) | 96.87th | v4 (v2025.03.14) |
| Mar 28, 2025 | 28.47% (0.28470) | 96.10th | v4 (v2025.03.14) |
| Mar 27, 2025 | 50.96% (0.50963) | 97.49th | v4 (v2025.03.14) |
| Mar 20, 2025 | 46.28% (0.46280) | 97.41th | v4 (v2025.03.14) |
| Mar 19, 2025 | 50.96% (0.50963) | 97.54th | v4 (v2025.03.14) |
| Mar 17, 2025 | 46.28% (0.46280) | 97.36th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.58% (0.00584) | 78.88th | v3 (v2023.03.01) |
| Mar 23, 2024 | 0.58% (0.00584) | 77.70th | v3 (v2023.03.01) |
| Feb 18, 2024 | 0.56% (0.00555) | 76.96th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.56% (0.00555) | 74.96th | v3 (v2023.03.01) |
| Jun 11, 2023 | 0.46% (0.00455) | 71.67th | v3 (v2023.03.01) |
| May 9, 2023 | 0.38% (0.00382) | 68.96th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.39% (0.00390) | 69.09th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.29% (0.04285) | 87.51th | v2 (v2022.01.01) |
| Aug 24, 2022 | 4.29% (0.04285) | 86.84th | v2 (v2022.01.01) |
| Jun 3, 2022 | 4.92% (0.04920) | 88.55th | v2 (v2022.01.01) |
| Apr 1, 2022 | 5.63% (0.05632) | 89.12th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.63% (0.05632) | 76.75th | v2 (v2022.01.01) |
| Feb 3, 2022 | 13.06% (0.13061) | 88.99th | v1 |
| Jan 6, 2022 | 13.06% (0.13061) | 88.86th | v1 |
| Sep 1, 2021 | 13.06% (0.13061) | 95.99th | v1 |
| Apr 14, 2021 | 13.06% (0.13061) | 0.00th | v1 |
References (12)
- https://access.redhat.com/errata/RHSA-2019:0052 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2019:0094 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2019:1860 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-12326 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1594291 Issue Tracking
- https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0 x_refsource_MISCThird Party Advisory
- https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50 x_refsource_MISCPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-12326
- https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES x_refsource_MISCPatchThird Party Advisory
- https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES x_refsource_MISCPatchThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-12326
- https://www.exploit-db.com/exploits/44904/ exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
Change history (0)
No recorded changes yet.