Skip to content
Noroxi
CVE-2018-11218· NVD / CVE Program· CNA mitre

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

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.

CriticalCVSS 9.8 · v3.0—Weaponized Fix available
Published
Jun 17, 2018
Updated
Jun 16, 2026
EPSS
59.0% · 99th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

57

Plan

Add it to your regular patch cycle.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
18 / 30 · 59.0%

Affected systems

VendorProduct
redislabsredis
debiandebian linux
oraclecommunications operations monitor
redhatopenstack

Using redis? Add it to your stack and be the first to know about CVEs like this one. (Redis)

Add to my stack

Affected 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.

EcosystemPackageAffected rangeFix
Alpine:v3.5redisfrom 4.0 · before 3.2.12-r03.2.12-r0
Alpine:v3.7redisfrom 4.0 · before 4.0.10-r04.0.10-r0
Debian:12redisbefore 5:4.0.10-15:4.0.10-1
Debian:8redisbefore 2:2.8.17-1+deb8u62:2.8.17-1+deb8u6
Debian:9redisbefore 3:3.2.6-3+deb9u13:3.2.6-3+deb9u1
openSUSE:Tumbleweedredisbefore 6.2.5-1.26.2.5-1.2
Red Hat:openstack:10::el7redisbefore 0:3.0.6-4.el7ost0:3.0.6-4.el7ost
Red Hat:openstack:10::el7redis-debuginfobefore 0:3.0.6-4.el7ost0:3.0.6-4.el7ost
Red Hat:openstack:13::el7redisbefore 0:3.2.8-3.el7ost0:3.2.8-3.el7ost
Red Hat:openstack:13::el7redis-debuginfobefore 0:3.2.8-3.el7ost0:3.2.8-3.el7ost
Red Hat:rhel_software_collections:3::el6rh-redis32-redisbefore 0:3.2.13-1.el60:3.2.13-1.el6
Red Hat:rhel_software_collections:3::el6rh-redis32-redis-debuginfobefore 0:3.2.13-1.el60:3.2.13-1.el6
Red Hat:rhel_software_collections:3::el7rh-redis32-redisbefore 0:3.2.13-1.el70:3.2.13-1.el7
Red Hat:rhel_software_collections:3::el7rh-redis32-redis-debuginfobefore 0:3.2.13-1.el70:3.2.13-1.el7
SUSE:Linux Enterprise Module for Server Applications 15 SP2redisbefore 6.0.8-1.3.16.0.8-1.3.1

Other 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 befor
    41Plan
  • CVE-2017-15047The clusterLoadConfig function in cluster.c in Redis 4.0.2 allows attackers to cause a denial of service (out-of-bounds array index and appl
    40Plan
  • CVE-2021-32761Integer overflow issues with *BIT commands on 32-bit systems
    39Monitor
  • CVE-2018-12453Type confusion in the xgroupCommand function in t_stream.c in redis-server in Redis before 5.0 allows remote attackers to cause denial-of-se
    37Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:redis3.2.12-r0 · Alpine:v3.5Package registry (OSV)
debian:redis5:4.0.10-1 · Debian:12Package registry (OSV)
opensuse:redis6.2.5-1.2 · openSUSE:TumbleweedPackage registry (OSV)
red hat:redis0:3.0.6-4.el7ost · Red Hat:openstack:10::el7Package registry (OSV)
red hat:redis-debuginfo0:3.0.6-4.el7ost · Red Hat:openstack:10::el7Package registry (OSV)
red hat:rh-redis32-redis0:3.2.13-1.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:rh-redis32-redis-debuginfo0:3.2.13-1.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
suse:redis6.0.8-1.3.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP2Package 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.

Public exploit evidence
SourceKindDate
Metasploit moduleexploit/linux/redis/redis_replication_cmd_execRedis Replication Code Executionexploit2018-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.

  1. Published
  2. Metasploit+148 d
  3. TodaySep 30, 2026+3027 d
EPSS, last 120 days

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.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

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 Write

CVSS 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.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records