Skip to content
Fencer Vulns
high 8.4

CVE-2018-12326 json

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 hig…

published 2018-06-17 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-4300

cvss
8.4
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.6%
EPSS 2.6% chance of exploitation in 30 days, percentile 85%
public exploits
1
Exploit-DB

Summary

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.

Patch / fix

  • redislabs redis 4.0.10
  • redis Debian 14, Debian 13, Debian 12 5:4.0.10-1

debian advisories DEBIAN-CVE-2018-12326

  • redis Ubuntu 14.04 LTS 2:2.8.4-2ubuntu0.2
  • redis Ubuntu 16.04 LTS 2:3.0.6-1ubuntu0.2
  • redis Ubuntu 18.04 LTS 5:4.0.9-1ubuntu0.1

ubuntu advisories UBUNTU-CVE-2018-12326

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • rh-redis32-redis RHEL 3 SOFTWARE_COLLECTIONS 3.2.13-1.el6
  • rh-redis32-redis RHEL 3 SOFTWARE_COLLECTIONS 3.2.13-1.el7
  • redis openstack 10 3.0.6-4.el7ost
  • redis openstack 13 3.2.8-3.el7ost

red hat advisories RHSA-2019:1860RHSA-2019:0052RHSA-2019:0094

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-12326 updated cvss 3.3

redis: Code execution in redis-cli via crafted command line arguments

  • Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) redis Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools redis
    affected: no fix planned “Will not fix”
  • Red Hat OpenStack Platform 8 (Liberty) redis Red Hat OpenStack Platform 8 (Liberty) Operational Tools redis Red Hat OpenStack Platform 9 (Mitaka) redis Red Hat OpenStack Platform 9 (Mitaka) Operational Tools redis Red Hat OpenStack Platform 12 (Pike) redis
    affected: no fix available “Fix deferred”
  • Red Hat OpenStack Platform 10.0 redis 3.0.6-4.el7ost
    fixed: vendor fix RHSA-2019:0052
  • Red Hat OpenStack Platform 13.0 redis 3.2.8-3.el7ost
    fixed: vendor fix RHSA-2019:0094
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-redis32-redis 3.2.13-1.el6 Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-redis32-redis 3.2.13-1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-redis32-redis 3.2.13-1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-redis32-redis 3.2.13-1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-redis32-redis 3.2.13-1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-redis32-redis 3.2.13-1.el6
    +1 more products
    Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-redis32-redis 3.2.13-1.el7
    fixed: vendor fix RHSA-2019:1860
  • Red Hat Ceph Storage 3 grafana Red Hat Enterprise Linux 8 redis Red Hat Mobile Application Platform 4 rhmap-redis-docker
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSMA-21-187-01 updated cvss 9.8

Philips Vue PACS (Update B)

From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf

Timeline

  1. Published
  2. First public exploit (EDB-44904)

Exploit prediction

2.58% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-44904 Redis-cli < 5.0 - Buffer Overflow (PoC) local, 2018-06-18

CVSS scores

assigned by version score vector
NVD 3.0 8.4 CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.