Every CVE Search/ Get API key

CVE-2018-12326

Buffer overflow in redis-cli of Redis before 4.0.10 and 5.x before 5.0 RC3 allows an attacker to...

8.4 HighPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.58%Down 10.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.4

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.

Record
CVE-2018-12326
CVSS 3.0
8.4 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.6 MediumAV:L/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-12326
Updated
2026-11-02
EUVDEUVD-2018-4300 No score

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.

Record
EUVD-2018-4300
Updated
2026-11-03
GitHub AdvisoriesGHSA-8829-5g6p-wqm9 8.4

Buffer overflow in redis-cli of Redis before 4.0.10 and 5.x before 5.0 RC3 allows an attacker to...

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.

Record
GHSA-8829-5g6p-wqm9
CVSS 3.0
8.4 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-119
Updated
2026-11-02
OSV 8.4

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.

Record
CVE-2018-12326
CVSS 3.0
8.4 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-12326 8.4

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.

Record
DEBIAN-CVE-2018-12326
CVSS 3.0
8.4 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVRHSA-2019:0052 6.3

Red Hat Security Advisory: redis security update

Record
RHSA-2019:0052
CVSS 3.0
6.3 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVRHSA-2019:0094 6.3

Red Hat Security Advisory: redis security update

Record
RHSA-2019:0094
CVSS 3.0
6.3 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVRHSA-2019:1860 7.2

Red Hat Security Advisory: rh-redis32-redis security update

Record
RHSA-2019:1860
CVSS 3.0
7.2 HighCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-12326 8.4

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.

Record
UBUNTU-CVE-2018-12326
CVSS 3.0
8.4 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
redis
Debian:12
before 5:4.0.10-1
5:4.0.10-1
redis
Debian:13
before 5:4.0.10-1
5:4.0.10-1
redis
Debian:14
before 5:4.0.10-1
5:4.0.10-1
redis
Debian:8
before 2:2.8.17-1+deb8u6, plus listed versions
2:2.8.17-12:2.8.17-1+deb8u12:2.8.17-1+deb8u22:2.8.17-1+deb8u32:2.8.17-1+deb8u42:2.8.17-1+deb8u5
2:2.8.17-1+deb8u6
redis
Debian:9
before 3:3.2.6-3+deb9u1, plus listed versions
3:3.2.6-13:3.2.6-23:3.2.6-3
3:3.2.6-3+deb9u1
redis
Red Hat:openstack:10::el7
before 0:3.0.6-4.el7ost
0:3.0.6-4.el7ost
redis-debuginfo
Red Hat:openstack:10::el7
before 0:3.0.6-4.el7ost
0:3.0.6-4.el7ost
redis
Red Hat:openstack:13::el7
before 0:3.2.8-3.el7ost
0:3.2.8-3.el7ost
redis-debuginfo
Red Hat:openstack:13::el7
before 0:3.2.8-3.el7ost
0:3.2.8-3.el7ost
rh-redis32-redis
Red Hat:rhel_software_collections:3::el6
before 0:3.2.13-1.el6
0:3.2.13-1.el6
Show 6 moreShow less
Affected packages
PackageAffectedFixed
rh-redis32-redis-debuginfo
Red Hat:rhel_software_collections:3::el6
before 0:3.2.13-1.el6
0:3.2.13-1.el6
rh-redis32-redis
Red Hat:rhel_software_collections:3::el7
before 0:3.2.13-1.el7
0:3.2.13-1.el7
rh-redis32-redis-debuginfo
Red Hat:rhel_software_collections:3::el7
before 0:3.2.13-1.el7
0:3.2.13-1.el7
redis
Ubuntu:14.04:LTS
before 2:2.8.4-2ubuntu0.2, plus listed versions
2:2.6.13-12:2.6.16-32:2.8.0-12:2.8.2-12:2.8.4-2
2:2.8.4-2ubuntu0.2
redis
Ubuntu:16.04:LTS
before 2:3.0.6-1ubuntu0.2, plus listed versions
2:3.0.3-32:3.0.5-12:3.0.5-22:3.0.5-32:3.0.5-42:3.0.6-1
2:3.0.6-1ubuntu0.2
redis
Ubuntu:18.04:LTS
before 5:4.0.9-1ubuntu0.1, plus listed versions
4:4.0.1-74:4.0.2-64:4.0.2-95:4.0.5-15:4.0.6-1
Show 5 moreShow less
5:4.0.6-25:4.0.7-15:4.0.8-15:4.0.8-25:4.0.9-1
5:4.0.9-1ubuntu0.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBRedis-cli < 5.0 - Buffer Overflow (PoC)2018-06-18
PoC in GitHubspasm5/CVE-2018-123262022-03-25

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-12326 is a high vulnerability (CVSS 8.4) in Redislabs Redis, published June 17, 2018. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 2.58%, the 85th percentile. Fixed in redis 5:4.0.10-1.

References

Show 27 moreShow less
MoveEnter Open