Cyber Resilience

CVE-2018-11218

Memory Safety in Redislabs Redis ≤ 3.2.12

Public PoCHigh EPSSMemory Safety
Published
17 June 2018
Modified
21 November 2024
Patch / advisory
CVSS Score v3 9.8
Click a component to see what it means
Raw vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.59 99.0th percentile
Risk Priority 97 floored blend · peak EPSS

Summary

CVE-2018-11218 is a critical-severity Out-of-bounds Write (CWE-787) vulnerability in Redislabs Redis. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 1.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

Likely ATT&CK TechniquesAI

Techniques this vulnerability likely enables, inferred from its description, weakness type, and attributed-actor tradecraft. Confidence is per-technique.

T1203 Exploitation for Client Execution Executionconfidence: HIGH
Stack-based buffer overflow in Lua cmsgpack enables client-side exploitation for code execution.
T1068 Exploitation for Privilege Escalation Privilege Escalationconfidence: HIGH
Memory corruption vulnerability allows privilege escalation via crafted Lua messages.
T1055 Process Injection Stealthconfidence: MEDIUM
Buffer overflow can be leveraged for process injection or shellcode execution.
inferred from description + CWE · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2023-42753Same product: Debian Debian Linux
CVE-2018-17480Same product: Debian Debian Linux
CVE-2024-36934Same product: Debian Debian Linux
CVE-2023-28879Same product: Debian Debian Linux
CVE-2025-37947Same product: Debian Debian Linux
CVE-2025-38077Same product: Debian Debian Linux
CVE-2024-47698Same product: Debian Debian Linux
CVE-2023-5474Same product: Debian Debian Linux
CVE-2023-2854Same product: Debian Debian Linux
CVE-2023-2856Same product: Debian Debian Linux

Affected Assets

redislabs
redis
5.0 · ≤ 3.2.12 · 4.0 — 4.0.10
debian
debian linux
9.0
oracle
communications operations monitor
3.4, 4.0
redhat
openstack
10, 13

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-787

Out-of-bounds writes that corrupt control flow or inject shellcode are rendered non-executable by the same memory protections.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure-development practices (static analysis, bounds checking, code review) are the primary means of preventing out-of-bounds writes.

ID.RA-01 partial match
prevents

Vulnerability scanning and recording can discover out-of-bounds write flaws so they can be remediated.

PR.PS-02 partial match
prevents

Patching or replacing vulnerable software directly eliminates known instances of this coding weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development and acceptance can detect and prevent out-of-bounds write defects.

prevents

Secure development life cycle mandates practices that prevent out-of-bounds writes.

prevents

Application security requirements can specify bounds-checking and safe memory handling.

prevents

Secure architecture and engineering principles reduce the likelihood of buffer overflows.

prevents

Secure coding directly addresses out-of-bounds writes through language choice and coding standards.

prevents

Change management can enforce review gates that catch unsafe memory operations before deployment.

References