CVE-2018-12326
A public proof of concept exists; no exploitation attested.
- Published2018-06-17
- Fixed in4.0.10
- WeaknessCWE-119
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2018-06-1714:29CVE publishedNVD
- 2018-06-18Exploit-DB entryExploit-DB
Observed activity
isMalicious corpus · updated 2026-11-04 09:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2018-12326?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2018-12326?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.0 | < 4.0.10 | 4.0.10 | NVD |
| 5.0 | = 5.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- redisUbuntu:18.04:LTSall versions · fixed in 5:4.0.9-1ubuntu0.1
- redisUbuntu:16.04:LTSall versions · fixed in 2:3.0.6-1ubuntu0.2
- redisUbuntu:14.04:LTSall versions · fixed in 2:2.8.4-2ubuntu0.2
- redisRed Hat:openstack:13::el7all versions · fixed in 0:3.2.8-3.el7ostand 1 other package
- redisRed Hat:openstack:10::el7all versions · fixed in 0:3.0.6-4.el7ostand 1 other package
- redisDebian:14all versions · fixed in 5:4.0.10-1
- redisDebian:13all versions · fixed in 5:4.0.10-1
- redisDebian:12all versions · fixed in 5:4.0.10-1
4 more package ranges on OSV.dev
Vendor advisories
redis: Code execution in redis-cli via crafted command line arguments
redis as a component of Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) · redis.src as a component of Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) · redis as a component of Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools · +8 more
Philips Vue PACS (Update B)
Vue PACS: Versions 12.2.x.x and prior · Vue Motion: Versions 12.2.1.5 and prior · Vue MyVue: Versions 12.2.x.x and prior · +1 more
Red Hat Security Advisory: rh-redis32-redis security update
Red Hat Security Advisory: redis security update
Red Hat Security Advisory: redis security update
Fix
- Update Redislabs redis to 4.0.10
- Vendor fix CISA ICSMA-21-187-01 · 1 productPhilips recommends configuring the Vue PACS environment per D000763414 - Vue_PACS_12_Ports_Protocols_Services_Guide available on Incenter.
- Vendor fix CISA ICSMA-21-187-01 · 1 productPhilips released Version 12.2.1.5 in June of 2020 for MyVue that remediates CWE-693 and recommends contacting support below.
- Vendor fix CISA ICSMA-21-187-01 · 1 productPhilips released Version 12.2.1.5 in June of 2020 for Vue Motion that remediates CWE-324 and recommends contacting support below.
- Vendor fix CISA ICSMA-21-187-01 · 1 productPhilips released Version 12.2.8.0 in May of 2021 for Speech that remediates CWE-693, CWE-319, CWE-119, CWE-287, and CWE-1214 and recommends contacting support below.
- Vendor fix CISA ICSMA-21-187-01 · 1 productPhilips released Version 12.2.8.0 in May of 2021 for PACS that remediates CWE-20, CWE-119, CWE-287 and recommends contacting support below.
- Vendor fix CISA ICSMA-21-187-01 · 1 productPhilips released a security fix for Speech in Nov 2021 that remediates CWE-665 and CWE-327 and recommends contacting support below.
Advisories and patches
- github.comPatch
- raw.githubusercontent.comPatch
- raw.githubusercontent.comPatch
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- none so far ProjectDiscovery
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.08.4read 2026-10-23
- NVDCVSS 2.04.6read 2026-10-23
- NVDweakness (CWE)CWE-119read 2026-10-23
- FIRST EPSSEPSS score2.6 %2026-11-03
- PoC-in-GitHubproof of concept1read 2026-11-03
- Exploit-DBdetectionread 2026-11-03
- OSVaffected packages—
Identifiers
- EUVD-2018-4300same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- DLA-1396-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-4230-1advisory covering several CVEsDebian · LicenseRef-unstated
- RHSA-2019:0052advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:0094advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:1860advisory covering several CVEsRed Hat · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2018-06-17
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2018-12326?
Is CVE-2018-12326 actively exploited?
What is the CVSS score for CVE-2018-12326?
Running Redis? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0