# CVE-2018-12326

- Priority: **Prioritise**
- Reason: Public exploit (exploit-database, 18-06-2018)
- Next step: Check applicability: affected before 4.0.10 (CNA); fix release not confirmed
- Status: published
- Published: 2018-06-17 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-12326, DEBIAN-CVE-2018-12326
- Record: https://cvemate.com/vulnerability/CVE-2018-12326 · JSON: https://cvemate.com/vulnerability/CVE-2018-12326/json

## Description

```text
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.
```

## Signals

- CVSS: 8.4 high (v3.0, NVD) CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.534%, percentile 85.455%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (exploit-database)

## Affected

- debian redis (Debian): \< 5:4.0.10-1
- ubuntu redis (Ubuntu): \< 2:2.8.4-2ubuntu0.2 \| \< 2:3.0.6-1ubuntu0.2 \| \< 5:4.0.9-1ubuntu0.1
- redislabs redis: \< 4.0.10 \| 5.0:rc1 \| 5.0:rc2

## References

- <https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0>
- <https://www.exploit-db.com/exploits/44904/>
- <https://access.redhat.com/errata/RHSA-2019:0052>
- <https://access.redhat.com/errata/RHSA-2019:0094>
- <https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50>
- <https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES>
- <https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES>
- <https://access.redhat.com/errata/RHSA-2019:1860>
- <https://ubuntu.com/security/CVE-2018-12326>
- <https://www.cve.org/CVERecord?id=CVE-2018-12326>
- <https://security-tracker.debian.org/tracker/CVE-2018-12326>

---

Data as of 2026-12-05T03:31:41.715Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
