CVE-2018-11218
Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3.2...
CVE-2018-11218 is a critical vulnerability (CVSS 9.8) in Redislabs Redis, published June 17, 2018. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 58.8%, the 99th percentile. Fixed in redis 3.2.12-r0.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2018-11218- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-11218- Updated
- 2026-11-02
EUVDEUVD-2018-3258 No score
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.
- Record
EUVD-2018-3258- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-84mm-87vg-44q4
9.8
Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3.2...
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.
- Record
GHSA-84mm-87vg-44q4- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2018-11218
9.8
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.
- Record
ALPINE-CVE-2018-11218- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2018-11218- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2018-11218
9.8
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.
- Record
DEBIAN-CVE-2018-11218- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2019:0052
6.3
Red Hat Security Advisory: redis security update
- Record
RHSA-2019:0052- CVSS 3.0
- 6.3 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVRHSA-2019:0094
6.3
Red Hat Security Advisory: redis security update
- Record
RHSA-2019:0094- CVSS 3.0
- 6.3 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVRHSA-2019:1860
7.2
Red Hat Security Advisory: rh-redis32-redis security update
- Record
RHSA-2019:1860- CVSS 3.0
- 7.2 High
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-11218
9.8
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.
- Record
UBUNTU-CVE-2018-11218- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0309 No score
Updated redis packages fix security vulnerability
Multiple vulnerabilities were discovered in the Lua subsystem of Redis which could result in denial of service (CVE-2018-11218, CVE-2018-11219).
- Record
MGASA-2018-0309- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11299-1 No score
redis-6.2.5-1.2 on GA media
These are all security issues fixed in the redis-6.2.5-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11299-1- Updated
- 2026-11-02
OSVSUSE-OU-2020:3291-1 No score
Optional update for python-redis and redis
This optional update for python-redis and redis provides the following fixes
python-redis:
-
Update to version to 3.4.1 (jsc#ECO-2417)
- Move the username argument in the Redis and Connection classes to the end of the argument list. This helps those poor souls that specify all their connection options as non-keyword arguments.
- Prior to ACL support, redis-py ignored the username component of Connection URLs. With ACL support, usernames are no longer ignored and are used to authenticate against an ACL rule. Some cloud vendors with managed Redis instances (like Heroku) provide connection URLs with a username component pre-ACL that is not intended to be used. Sending that username to Redis servers < 6.0.0 results in an error. Attempt to detect this condition and retry the AUTH command with only the password such that authentication continues to work for these users.
- Removed the eq hooks to Redis and ConnectionPool that were added in 3.4.0. This ended up being a bad idea as two separate connection pools be considered equal yet manage a completely separate set of connections.
- Allow empty pipelines to be executed if there are WATCHed keys. This is a convenient way to test if any of the watched keys changed without actually running any other commands.
- Removed support for end of life Python 3.4.
- Added support for all ACL commands in Redis 6.
- Pipeline instances now always evaluate to True. Prior to this change, pipeline instances relied on len for boolean evaluation which meant that pipelines with no commands on the stack would be considered False.
- Client instances and Connection pools now support a 'client_name' argument. If supplied, all connections created will call CLIENT SETNAME as soon as the connection is opened.
- Added the 'ssl_check_hostname' argument to specify whether SSL connections should require the server hostname to match the hostname specified in the SSL cert. By default 'ssl_check_hostname' is False for backwards compatibility.
- Added support for the TYPE argument to SCAN.
- Better thread and fork safety in ConnectionPool and BlockingConnectionPool. Added better locking to synchronize critical sections rather than relying on CPython-specific implementation details relating to atomic operations. Adjusted how the pools identify and deal with a fork. Added a ChildDeadlockedError exception that is raised by child processes in the very unlikely chance that a deadlock is encountered.
- Further fix for the SSLError -> TimeoutError mapping to work on obscure releases of Python 2.7.
- Fixed a potential error handling bug for the SSLError -> TimeoutError mapping introduced in 3.3.9.
- Mapped Python 2.7 SSLError to TimeoutError where appropriate. Timeouts should now consistently raise TimeoutErrors on Python 2.7 for both unsecured and secured connections.
- Fixed MONITOR parsing to properly parse IPv6 client addresses
- Fixed a regression introduced in 3.3.0
- Resolve a race condition with the PubSubWorkerThread.
- Response callbacks are now case insensitive.
- Added support for hiredis-py 1.0.0 encoding error support.
- Add READONLY and READWRITE commands.
- Added extensive health checks that keep the connections lively.
- Many more changes, see upstream changelog.
- Add missing build dependency setuptools
- Fix SentinelConnectionPool to work in multiprocess/forked environments
-
Update to 3.2.0 (bsc#1131555)
- Added support for
select.pollto test whether data can be read on a socket. This should allow for significantly more connections to be used with pubsub. - Attempt to guarentee that the ConnectionPool hands out healthy connections. Healthy connections are those that have an established socket connection to the Redis server, are ready to accept a command and have no data available to read.
- Use the socket.IPPROTO_TCP…
- Added support for
- Record
SUSE-OU-2020:3291-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
redisAlpine:v3.5 |
4.0 up to 3.2.12-r0 | 3.2.12-r0 |
redisAlpine:v3.6 |
4.0 up to 3.2.12-r0 | 3.2.12-r0 |
redisAlpine:v3.7 |
4.0 up to 4.0.10-r0 | 4.0.10-r0 |
redisDebian:12 |
before 5:4.0.10-1 | 5:4.0.10-1 |
redisDebian:13 |
before 5:4.0.10-1 | 5:4.0.10-1 |
redisDebian:14 |
before 5:4.0.10-1 | 5:4.0.10-1 |
redisDebian:8 |
before 2:2.8.17-1+deb8u6, plus listed versions 2:2.8.17-12:2.8.17-1+deb8u12:2.8.17-1+deb8u22:2.8.17-1+deb8u32:2.8.17-1+deb8u42:2.8.17-1+deb8u5 |
2:2.8.17-1+deb8u6 |
redisDebian:9 |
before 3:3.2.6-3+deb9u1, plus listed versions 3:3.2.6-13:3.2.6-23:3.2.6-3 |
3:3.2.6-3+deb9u1 |
redisMageia:6 |
before 4.0.10-1.mga6 | 4.0.10-1.mga6 |
redisRed Hat:openstack:10::el7 |
before 0:3.0.6-4.el7ost | 0:3.0.6-4.el7ost |
Show 12 moreShow less
| Package | Affected | Fixed |
|---|---|---|
redis-debuginfoRed Hat:openstack:10::el7 |
before 0:3.0.6-4.el7ost | 0:3.0.6-4.el7ost |
redisRed Hat:openstack:13::el7 |
before 0:3.2.8-3.el7ost | 0:3.2.8-3.el7ost |
redis-debuginfoRed Hat:openstack:13::el7 |
before 0:3.2.8-3.el7ost | 0:3.2.8-3.el7ost |
rh-redis32-redisRed Hat:rhel_software_collections:3::el6 |
before 0:3.2.13-1.el6 | 0:3.2.13-1.el6 |
rh-redis32-redis-debuginfoRed Hat:rhel_software_collections:3::el6 |
before 0:3.2.13-1.el6 | 0:3.2.13-1.el6 |
rh-redis32-redisRed Hat:rhel_software_collections:3::el7 |
before 0:3.2.13-1.el7 | 0:3.2.13-1.el7 |
rh-redis32-redis-debuginfoRed Hat:rhel_software_collections:3::el7 |
before 0:3.2.13-1.el7 | 0:3.2.13-1.el7 |
redisSUSE:Linux Enterprise Module for Server Applications 15 SP2 |
before 6.0.8-1.3.1 | 6.0.8-1.3.1 |
redisUbuntu:14.04:LTS |
before 2:2.8.4-2ubuntu0.2, plus listed versions 2:2.6.13-12:2.6.16-32:2.8.0-12:2.8.2-12:2.8.4-2 |
2:2.8.4-2ubuntu0.2 |
redisUbuntu:16.04:LTS |
before 2:3.0.6-1ubuntu0.2, plus listed versions 2:3.0.3-32:3.0.5-12:3.0.5-22:3.0.5-32:3.0.5-42:3.0.6-1 |
2:3.0.6-1ubuntu0.2 |
redisUbuntu:18.04:LTS |
before 5:4.0.9-1ubuntu0.1, plus listed versions 4:4.0.1-74:4.0.2-64:4.0.2-95:4.0.5-15:4.0.6-1 Show 5 moreShow less5:4.0.6-25:4.0.7-15:4.0.8-15:4.0.8-25:4.0.9-1 |
5:4.0.9-1ubuntu0.1 |
redisopenSUSE:Tumbleweed |
before 6.2.5-1.2 | 6.2.5-1.2 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Metasploit | Redis Replication Code Execution | 2018-11-13 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, Metasploit, NVD, OSV |
References
securityfocus.com/bid/104553
github.com/antirez/redis/issues/5017
debian.org/security/2018/dsa-4230
access.redhat.com/errata/RHSA-2019:0052
github.com/antirez/redis/commit/5ccb6f7a791bf3490357b00a898885759d98bab0
antirez.com/news/119
Show 56 moreShow less
github.com/antirez/redis/commit/52a00201fca331217c3b4b8b634f6a0f57d6b7d3
access.redhat.com/errata/RHSA-2019:0094
raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES
raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES
oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
access.redhat.com/errata/RHSA-2019:1860
security.gentoo.org/glsa/201908-04
nvd.nist.gov/vuln/detail/CVE-2018-11218
github.com/advisories/GHSA-84mm-87vg-44q4
security.alpinelinux.org/vuln/CVE-2018-11218
security-tracker.debian.org/tracker/CVE-2018-11218
advisories.mageia.org/MGASA-2018-0309.html
bugs.mageia.org/show_bug.cgi?id=23200
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1590062
bugzilla.redhat.com/show_bug.cgi?id=1590067
bugzilla.redhat.com/show_bug.cgi?id=1594291
security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_0052.json
access.redhat.com/security/cve/CVE-2018-11218
cve.org/CVERecord?id=CVE-2018-11218
access.redhat.com/security/cve/CVE-2018-11219
cve.org/CVERecord?id=CVE-2018-11219
nvd.nist.gov/vuln/detail/CVE-2018-11219
access.redhat.com/security/cve/CVE-2018-12326
cve.org/CVERecord?id=CVE-2018-12326
nvd.nist.gov/vuln/detail/CVE-2018-12326
security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_0094.json
bugzilla.redhat.com/show_bug.cgi?id=1723918
security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_1860.json
access.redhat.com/security/cve/CVE-2019-10192
cve.org/CVERecord?id=CVE-2019-10192
nvd.nist.gov/vuln/detail/CVE-2019-10192
raw.githubusercontent.com/antirez/redis/3.2/00-RELEASENOTES
suse.com/support/update/announcement/-2020-3291/suse-ou-20203291-1
bugzilla.suse.com/1002351
bugzilla.suse.com/1047218
bugzilla.suse.com/1061967
bugzilla.suse.com/1064980
bugzilla.suse.com/1097430
bugzilla.suse.com/1131555
bugzilla.suse.com/798455
bugzilla.suse.com/835815
bugzilla.suse.com/991250
suse.com/security/cve/CVE-2013-7458
suse.com/security/cve/CVE-2015-8080
suse.com/security/cve/CVE-2016-10517
suse.com/security/cve/CVE-2016-8339
suse.com/security/cve/CVE-2017-15047
suse.com/security/cve/CVE-2018-11218
suse.com/security/cve/CVE-2018-11219
ubuntu.com/security/CVE-2018-11218
suse.com/security/cve/CVE-2021-21309
suse.com/security/cve/CVE-2021-29477
suse.com/security/cve/CVE-2021-29478
suse.com/security/cve/CVE-2021-32625
suse.com/security/cve/CVE-2021-32761
Left out here: the rest of 1 source description. The JSON record has them.