Wiz Agents & Workflows are here

CVE-2021-32626
Redis vulnerability analysis and mitigation

Overview

CVE-2021-32626 is a security vulnerability discovered in Redis, an open-source, in-memory database that persists on disk. The vulnerability was disclosed on October 4, 2021, affecting all Redis versions with Lua scripting support, starting from version 2.6. The issue involves specially crafted Lua scripts that can cause the heap-based Lua stack to overflow due to incomplete checks, potentially leading to heap corruption (Redis Advisory).

Technical details

The vulnerability is characterized by a heap-based buffer overflow condition in Redis's Lua scripting functionality. When specially crafted Lua scripts are executed in Redis, they can cause the heap-based Lua stack to overflow due to insufficient boundary checks. The vulnerability has received a CVSS v3.1 base score of 7.5 (High) with the vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating network accessibility with high attack complexity and requiring low privileges (NVD).

Impact

The successful exploitation of this vulnerability can result in heap corruption and potentially lead to remote code execution. The impact affects the confidentiality, integrity, and availability of the system, with all three aspects rated as High in the CVSS scoring (Redis Advisory, NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Redis versions 6.2.6, 6.0.16, and 5.0.14. For users unable to update immediately, a workaround is available by preventing users from executing Lua scripts. This can be accomplished by using ACL to restrict EVAL and EVALSHA commands. It is strongly recommended to upgrade to the patched versions as soon as possible (Redis Advisory).

Additional resources


SourceThis report was generated using AI

Related Redis vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-49844CRITICAL9.9
  • RedisRedis
  • redis-devel
NoYesOct 03, 2025
CVE-2025-62507HIGH7.7
  • RedisRedis
  • redis
NoYesNov 04, 2025
CVE-2026-21863HIGH7.5
  • RedisRedis
  • valkey-compat-redis-devel
NoYesFeb 23, 2026
CVE-2025-67733HIGH7.1
  • RedisRedis
  • valkey-compat-redis-devel
NoYesFeb 23, 2026
CVE-2025-46819HIGH7.1
  • RedisRedis
  • redis-6.2
NoYesOct 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management