High severity · published Jun 17, 2018
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 achieve code execution and escalate to higher privileges via a crafted command…
8.4
CVSS
2.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.6% · higher than 85% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RE
Redis · Redis
before 4.0.10; 5.0; 5.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-12326
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-12326
access.redhat.com
https://access.redhat.com/errata/RHSA-2019:0052
access.redhat.com
https://access.redhat.com/errata/RHSA-2019:0094
access.redhat.com
https://access.redhat.com/errata/RHSA-2019:1860
Third Party Advisory
https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0
Patch
https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50
Patch
https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES
More from Redis
10.0
CVE-2022-0543
Debian-specific Redis Server Lua Sandbox Escape Vulnerability
9.9
CVE-2025-49844
Redis is an open source, in-memory database that persists on disk
9.8
CVE-2025-27151
Redis is an open source, in-memory database that persists on disk
9.8
CVE-2024-46981
Redis' Lua library commands may lead to remote code execution
9.8
CVE-2022-3734
Redis on Windows dbghelp.dll uncontrolled search path
