CVE-2018-11218: Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10, and 5.x before 5.0…
Noroxi assessment
Priority: This week (action score 60/100)
- A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
- A ready-made attack tool exists and the flaw can be exploited over the network without an account, so priority is at least “This week”.
- Probability of exploitation in the next 30 days: 58.8% (FIRST EPSS); higher than 99.1% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: redis (Alpine:v3.5) 3.2.12-r0; redis (Alpine:v3.7) 4.0.10-r0; redis (Debian:12) 5:4.0.10-1.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Don’t wait for the next maintenance window. Upgrade to redis (Alpine:v3.5) 3.2.12-r0; redis (Alpine:v3.7) 4.0.10-r0; redis (Debian:12) 5:4.0.10-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10, and 5.x before 5.0 RC2 because of stack-based buffer overflows.
- Published
- Jun 17, 2018
- Updated
- Jun 16, 2026
- EPSS
- 58.8% · 99th percentile
- CWE
- CWE-787
Report tools
Action score
60
Don’t wait for the next maintenance window.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 18 / 30 · 58.8%
- Ready-made attack tool
- 3 / 60 · floor: at least 60
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Weaponized exploit exists
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is Redis on your server exposed to the internet?Run a port scan
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| redislabs | redis | cpe:2.3:a:redislabs:redis |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| oracle | communications operations monitor | cpe:2.3:a:oracle:communications_operations_monitor |
| redhat | openstack | cpe:2.3:a:redhat:openstack |
Using redis? Add it to your stack and be the first to know about CVEs like this one. (Redis)
Is Redis on your server exposed to the internet?
The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.
Run a port scanAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- redislabs redisbefore 3.2.12
- redislabs redis4.0 and later · before 4.0.10
- redislabs redis5.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.5 | redis | from 4.0 · before 3.2.12-r0 | 3.2.12-r0 |
| Alpine:v3.7 | redis | from 4.0 · before 4.0.10-r0 | 4.0.10-r0 |
| Debian:12 | redis | before 5:4.0.10-1 | 5:4.0.10-1 |
| Debian:8 | redis | before 2:2.8.17-1+deb8u6 | 2:2.8.17-1+deb8u6 |
| Debian:9 | redis | before 3:3.2.6-3+deb9u1 | 3:3.2.6-3+deb9u1 |
| openSUSE:Tumbleweed | redis | before 6.2.5-1.2 | 6.2.5-1.2 |
| Red Hat:openstack:10::el7 | redis | before 0:3.0.6-4.el7ost | 0:3.0.6-4.el7ost |
| Red Hat:openstack:10::el7 | redis-debuginfo | before 0:3.0.6-4.el7ost | 0:3.0.6-4.el7ost |
| Red Hat:openstack:13::el7 | redis | before 0:3.2.8-3.el7ost | 0:3.2.8-3.el7ost |
| Red Hat:openstack:13::el7 | redis-debuginfo | before 0:3.2.8-3.el7ost | 0:3.2.8-3.el7ost |
| Red Hat:rhel_software_collections:3::el6 | rh-redis32-redis | before 0:3.2.13-1.el6 | 0:3.2.13-1.el6 |
| Red Hat:rhel_software_collections:3::el6 | rh-redis32-redis-debuginfo | before 0:3.2.13-1.el6 | 0:3.2.13-1.el6 |
| Red Hat:rhel_software_collections:3::el7 | rh-redis32-redis | before 0:3.2.13-1.el7 | 0:3.2.13-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-redis32-redis-debuginfo | before 0:3.2.13-1.el7 | 0:3.2.13-1.el7 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP2 | redis | before 6.0.8-1.3.1 | 6.0.8-1.3.1 |
Same product
redislabs: all recordsOther highest-scoring records for the same primary product.
- CVE-2016-8339A buffer overflow in Redis 3.2.x prior to 3.2.4 causes arbitrary code execution when a crafted command is sent.43Plan
- CVE-2015-4335Redis before 2.8.21 and 3.x before 3.0.2 allows remote attackers to execute arbitrary Lua bytecode via the eval command.43Plan
- CVE-2018-11219An Integer Overflow issue was discovered in the struct library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10, and 5.x…41Plan
Published before and after this one in the same product
- ← EarlierCVE-2018-12453Jun 16, 2018 · Type confusion in the xgroupCommand function in t_stream.c in redis-server in Redis before 5.0 allows remote attackers to cause…37Monitor
- ← EarlierCVE-2018-12326Jun 17, 2018 · 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…34Monitor
- Later →CVE-2019-10192Jul 11, 2019 · A heap-buffer overflow vulnerability was found in the Redis hyperloglog data structure versions 3.x before 3.2.13, 4.x before 4.0.14 and…36Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:redis | 3.2.12-r0 · Alpine:v3.5 | Package registry (OSV) |
| debian:redis | 5:4.0.10-1 · Debian:12 | Package registry (OSV) |
| opensuse:redis | 6.2.5-1.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:redis | 0:3.0.6-4.el7ost · Red Hat:openstack:10::el7 | Package registry (OSV) |
| red hat:redis-debuginfo | 0:3.0.6-4.el7ost · Red Hat:openstack:10::el7 | Package registry (OSV) |
| red hat:rh-redis32-redis | 0:3.2.13-1.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:rh-redis32-redis-debuginfo | 0:3.2.13-1.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| suse:redis | 6.0.8-1.3.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP2 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Metasploit module | exploit/linux/redis/redis_replication_cmd_execRedis Replication Code Executionexploit | 2018-11-13 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- Metasploit+148 d
- TodayNov 16, 2026+3074 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-21-0555 · Jul 7, 2021(Philips Vue PAC Zafiyeti)
Not on record for this CVE: researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- access.redhat.com/errata/RHSA-2019:0052
- access.redhat.com/errata/RHSA-2019:0094
- access.redhat.com/errata/RHSA-2019:1860
- github.com/antirez/redis/commit/5ccb6f7a791bf3490357b00a898885759d98bab0
- github.com/antirez/redis/issues/5017
- raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES
- raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES
- security.gentoo.org/glsa/201908-04
- www.debian.org/security/2018/dsa-4230
- www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.