Redis 4.0.2 vulnerabilities
41 published vulnerabilities affect Redis 4.0.2, 1 of them known to be exploited in the wild.
What to upgrade to
The newest release on the 4.0 line is 4.0.14, with 39 known CVEs. The newest Redis release we know of is 8.12.0, with no known CVEs.
| Upgrade to | Fixes | Still open | New in that release |
|---|---|---|---|
| 4.0.14newest 4.0 release | 2 of 41 | 39CVE-2022-0543, CVE-2025-49844, CVE-2024-46981 and 36 more | none |
| 8.12.0newest release | all 411 exploited, 4 critical | none | none |
"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.
CVEs affecting Redis 4.0.2
Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.
| CVE | CVSS | Exploitation | EPSS | Fixed in |
|---|---|---|---|---|
| CVE-2022-0543It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific) Lua sandbox escape, which could… | 10.0 | Exploited | 97% | –NVD |
| CVE-2025-49844Redis Lua Use-After-Free may lead to remote code execution | 9.9 | Proof of concept | 83% | 8.2.2CVE record |
| CVE-2024-46981Redis' Lua library commands may lead to remote code execution | 9.8 | None known | 8% | 6.2.17CVE record |
| CVE-2022-24834Heap overflow issue with the Lua cjson library used by Redis | 8.8 | Proof of concept | 41% | 6.0.20NVD |
| CVE-2022-3734Redis on Windows dbghelp.dll uncontrolled search path | 9.8 | None known | under 1% | –NVD |
| CVE-2025-46817Lua library commands may lead to integer overflow and potential RCE | 8.8 | Proof of concept | 4% | 8.2.2CVE record |
| CVE-2024-31449Lua library commands may lead to stack overflow and RCE in Redis | 8.8 | Proof of concept | 5% | 6.2.16CVE record |
| CVE-2021-32626Lua scripts can overflow the heap-based Lua stack in Redis | 8.8 | None known | 16% | 5.0.14CVE record |
| CVE-2026-25243redis-server RESTORE invalid memory access may allow remote code execution | 8.8 | None known | 5% | 8.6.3CVE record |
| CVE-2021-32762Integer overflow that can lead to heap overflow in redis-cli, redis-sentinel on some platforms | 8.8 | None known | 3% | 5.0.14CVE record |
| CVE-2021-32625Redis vulnerability in STRALGO LCS on 32-bit systems | 8.8 | None known | 4% | 6.0.14CVE record |
| CVE-2021-29477Vulnerability in the STRALGO LCS command | 8.8 | None known | 4% | 6.0.13 |
| CVE-2021-21309Integer overflow on 32-bit systems | 8.8 | None known | 5% | 5.0.11CVE record |
| CVE-2022-24735Lua scripts can be manipulated to overcome ACL rules in Redis | 7.8 | Proof of concept | 2% | 6.2.7NVD |
| CVE-2026-23631redis-server Lua use-after-free may allow remote code execution | 8.1 | None known | 3% | 8.6.3CVE record |
| CVE-2026-66373Redis before 8.8.0, in the unusual case where an authenticated attacker can execute RESTORE, allows remote code execution via a RESTORE payload where the same… | 7.5 | Proof of concept | under 1% | 8.8.0CVE record |
| CVE-2025-32023Redis allows out of bounds writes in hyperloglog commands leading to RCE | 7.8 | None known | 6% | 6.2.19CVE record |
| CVE-2021-32761Integer overflow issues with *BIT commands on 32-bit systems | 7.5 | None known | 30% | 5.0.13CVE record |
| CVE-2025-46818Redis: Authenticated users can execute LUA scripts as a different user | 7.3 | Proof of concept | under 1% | 8.2.2CVE record |
| CVE-2021-32675DoS vulnerability in Redis | 7.5 | None known | 16% | 5.0.14CVE record |
| CVE-2026-81934Redis TLS pending-data list use-after-free | 7.1 | Proof of concept | under 1% | 6.2.24CVE record |
| CVE-2025-46819Redis is vulnerable to DoS via specially crafted LUA scripts | 7.1 | Proof of concept | 1% | 8.2.2CVE record |
| CVE-2021-32628Vulnerability in handling large ziplists | 7.5 | None known | 13% | 5.0.14CVE record |
| CVE-2025-48367Redis DoS Vulnerability due to bad connection error handling | 7.5 | None known | 1% | 6.2.19CVE record |
| CVE-2025-21605Redis DoS Vulnerability due to unlimited growth of output buffers abused by unauthenticated client | 7.5 | None known | under 1% | 7.4.3CVE record |
| CVE-2021-41099Integer overflow issue with strings in Redis | 7.5 | None known | 4% | 5.0.14CVE record |
| CVE-2021-32687Integer overflow issue with intsets in Redis | 7.5 | None known | 4% | 5.0.14CVE record |
| CVE-2019-10193A stack-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 5.x before 5.0.4 | 7.2 | None known | 23% | 4.0.14CVE record |
| CVE-2019-10192A 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 5.x before 5.0.4 | 7.2 | None known | 26% | 4.0.14CVE record |
| GHSA-2r7g-8hpc-rpq9Multi-bulk commands sent by clients can lead to DoS | 7.0 | None known | – | 8.0.1 |
| CVE-2024-31228Denial-of-service due to unbounded pattern matching in Redis | 6.5 | None known | 1% | 6.2.16CVE record |
| CVE-2023-28856`HINCRBYFLOAT` can be used to crash a redis-server process | 6.5 | None known | 1% | 6.0.19CVE record |
| CVE-2023-25155Integer Overflow in several Redis commands can lead to denial of service. | 6.5 | None known | under 1% | 6.0.18CVE record |
| CVE-2021-31294Redis before 6cbea7d allows a replica to cause an assertion failure in a primary server by sending a non-administrative command (specifically, a SET command) | 5.9 | Proof of concept | 1% | 6.2.0NVD |
| CVE-2022-36021Redis string pattern matching can be abused to achieve Denial of Service | 5.5 | None known | 60% | 6.0.18CVE record |
| CVE-2022-24736A Malformed Lua script can crash Redis | 5.5 | Proof of concept | 1% | 6.2.7CVE record |
| CVE-2022-35977Integer overflow in certain command arguments can drive Redis to OOM panic | 5.5 | None known | 14% | 6.0.17CVE record |
| CVE-2021-32672Vulnerability in Lua Debugger in Redis | 4.3 | None known | 2% | 5.0.14CVE record |
| CVE-2025-46686Redis through 8.0.3 allows memory consumption via a multi-bulk command composed of many bulks, sent by an authenticated user | 3.5 | Proof of concept | under 1% | –CVE record |
| CVE-2022-3647Redis Crash Report debug.c sigsegvHandler denial of service | 3.3 | Proof of concept | under 1% | 6.2.8NVD |
| CVE-2023-45145Redis Unix-domain socket may have be exposed with the wrong permissions for a short time window. | 3.6 | None known | under 1% | 6.2.14CVE record |
Other Redis 4.0 releases
4.0.1439 4.0.1341 4.0.1241 4.0.1141 4.0.1041 4.0.941 4.0.841 4.0.741 4.0.641 4.0.541 4.0.441 4.0.341 4.0.141 4.0.041
How this list is made
These are the CVEs Dawnsentry matches to each Redis version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.
Updated 2 December 2026.