Redis 4.0.5 vulnerabilities

41 published vulnerabilities affect Redis 4.0.5, 1 of them known to be exploited in the wild.

41CVEs
4critical (CVSS 9+)
26high (CVSS 7–8.9)
1exploited 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 toFixesStill openNew in that release
4.0.14newest 4.0 release2 of 4139CVE-2022-0543, CVE-2025-49844, CVE-2024-46981 and 36 morenone
8.12.0newest releaseall 411 exploited, 4 criticalnonenone

"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.5

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.

CVECVSSExploitationEPSSFixed 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.0Exploited97%–NVD
CVE-2025-49844Redis Lua Use-After-Free may lead to remote code execution9.9Proof of concept83%8.2.2CVE record
CVE-2024-46981Redis' Lua library commands may lead to remote code execution9.8None known8%6.2.17CVE record
CVE-2022-24834Heap overflow issue with the Lua cjson library used by Redis8.8Proof of concept41%6.0.20NVD
CVE-2022-3734Redis on Windows dbghelp.dll uncontrolled search path9.8None knownunder 1%–NVD
CVE-2025-46817Lua library commands may lead to integer overflow and potential RCE8.8Proof of concept4%8.2.2CVE record
CVE-2024-31449Lua library commands may lead to stack overflow and RCE in Redis8.8Proof of concept5%6.2.16CVE record
CVE-2021-32626Lua scripts can overflow the heap-based Lua stack in Redis8.8None known16%5.0.14CVE record
CVE-2026-25243redis-server RESTORE invalid memory access may allow remote code execution8.8None known5%8.6.3CVE record
CVE-2021-32762Integer overflow that can lead to heap overflow in redis-cli, redis-sentinel on some platforms8.8None known3%5.0.14CVE record
CVE-2021-32625Redis vulnerability in STRALGO LCS on 32-bit systems8.8None known4%6.0.14CVE record
CVE-2021-29477Vulnerability in the STRALGO LCS command8.8None known4%6.0.13
CVE-2021-21309Integer overflow on 32-bit systems8.8None known5%5.0.11CVE record
CVE-2022-24735Lua scripts can be manipulated to overcome ACL rules in Redis7.8Proof of concept2%6.2.7NVD
CVE-2026-23631redis-server Lua use-after-free may allow remote code execution8.1None known3%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.5Proof of conceptunder 1%8.8.0CVE record
CVE-2025-32023Redis allows out of bounds writes in hyperloglog commands leading to RCE7.8None known6%6.2.19CVE record
CVE-2021-32761Integer overflow issues with *BIT commands on 32-bit systems7.5None known30%5.0.13CVE record
CVE-2025-46818Redis: Authenticated users can execute LUA scripts as a different user7.3Proof of conceptunder 1%8.2.2CVE record
CVE-2021-32675DoS vulnerability in Redis7.5None known16%5.0.14CVE record
CVE-2026-81934Redis TLS pending-data list use-after-free7.1Proof of conceptunder 1%6.2.24CVE record
CVE-2025-46819Redis is vulnerable to DoS via specially crafted LUA scripts7.1Proof of concept1%8.2.2CVE record
CVE-2021-32628Vulnerability in handling large ziplists7.5None known13%5.0.14CVE record
CVE-2025-48367Redis DoS Vulnerability due to bad connection error handling7.5None known1%6.2.19CVE record
CVE-2025-21605Redis DoS Vulnerability due to unlimited growth of output buffers abused by unauthenticated client7.5None knownunder 1%7.4.3CVE record
CVE-2021-41099Integer overflow issue with strings in Redis7.5None known4%5.0.14CVE record
CVE-2021-32687Integer overflow issue with intsets in Redis7.5None known4%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.47.2None known23%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.47.2None known26%4.0.14CVE record
GHSA-2r7g-8hpc-rpq9Multi-bulk commands sent by clients can lead to DoS7.0None known–8.0.1
CVE-2024-31228Denial-of-service due to unbounded pattern matching in Redis6.5None known1%6.2.16CVE record
CVE-2023-28856`HINCRBYFLOAT` can be used to crash a redis-server process6.5None known1%6.0.19CVE record
CVE-2023-25155Integer Overflow in several Redis commands can lead to denial of service.6.5None knownunder 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.9Proof of concept1%6.2.0NVD
CVE-2022-36021Redis string pattern matching can be abused to achieve Denial of Service5.5None known60%6.0.18CVE record
CVE-2022-24736A Malformed Lua script can crash Redis5.5Proof of concept1%6.2.7CVE record
CVE-2022-35977Integer overflow in certain command arguments can drive Redis to OOM panic5.5None known14%6.0.17CVE record
CVE-2021-32672Vulnerability in Lua Debugger in Redis4.3None known2%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 user3.5Proof of conceptunder 1%–CVE record
CVE-2022-3647Redis Crash Report debug.c sigsegvHandler denial of service3.3Proof of conceptunder 1%6.2.8NVD
CVE-2023-45145Redis Unix-domain socket may have be exposed with the wrong permissions for a short time window.3.6None knownunder 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.441 4.0.341 4.0.241 4.0.141 4.0.041

All Redis versions

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.