Valkey 8.0.2stable Released Jan 07, 2025
⚠️ Breaking Change Impact Score: 9/10

Valkey 8.0.2 - Release Notes & Engineering Impact

Source available - automated, not human-reviewed

Component: valkey · Channel: stable. Automated analysis, not a compatibility certification. How this works.

Analysis updated: 2026-11-25.

Breaking-change evidence from the source

  • Revert an unintended breaking change when sending an unsubuscribe command
Read the original context ↗
Source flags breaking changes - review applicability
📄 .MD
⚡ Executive Summary (TL;DR)

Valkey 8.0.2 is a critical security update addressing remote code execution and denial-of-service vulnerabilities in Lua scripts and ACL handling. Administrators should prioritize immediate deployment to mitigate these high-severity risks.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Review and patch your Valkey deployment immediately to neutralize the RCE and DoS risks identified in Lua and ACL subsystems.

📊 Product & Engineering Leads

This release prioritizes platform stability and security; no new user-facing product features were introduced.

⚙️ DevOps & Security

Schedule an emergency maintenance window to apply this security patch across all environments, as it is classified with high upgrade urgency.

⚠️ Breaking Changes & Deprecations (1)

  • Revert an unintended breaking change when sending an unsubuscribe command

🔧 Bug Fixes & Patches (13)

  • CVE-2024-46981: Fixed RCE vulnerability in Lua script commands
  • CVE-2024-51741: Fixed DoS vulnerability related to malformed ACL selectors
  • Resolved TLS crash during dual channel replication
  • Fixed incorrect repl_down_since resets
  • Addressed performance regression in replica database size initialization
  • Fixed TOUCH command access time update behavior
  • Corrected reporting for total_net_repl_output_bytes and used_memory_scripts
  • Resolved server crash during active defrag when scripts are evicted
  • Optimized memory usage for inline protocol strings
  • Fixed SORT cross-slot errors and RANDOMKEY cluster mode omission
  • Corrected FUNCTION KILL error messaging
  • Fixed potential memory corruption during FLUSHDB with active defrag
  • Reverted unintended unsubscribe behavior change

❓ Frequently Asked Questions

Does Valkey 8.0.2 contain breaking changes?

No. While the release reverts an unintended breaking change from a previous version, it introduces no new incompatible changes itself.

What is the primary highlight of 8.0.2?

The primary highlight is the resolution of two critical security vulnerabilities (CVE-2024-46981 and CVE-2024-51741) that pose risks of remote code execution and denial-of-service.

How should teams prepare to upgrade to 8.0.2?

Teams should treat this as a high-urgency security update and apply the patch to all production nodes as soon as possible to ensure system security.

📄 View Raw Release Notes (Original Developer Log)
Upgrade urgency SECURITY: This release includes security fixes we recommend you apply as soon as possible. Security fixes ============== * (CVE-2024-46981) Lua script commands may lead to remote code execution. (#1513) * (CVE-2024-51741) Denial-of-service due to malformed ACL selectors. (#1514) Bug fixes ========= * Fix an uncommon crash when using TLS with dual channel replication. (#1173) * Make sure `repl_down_since` is correctly reset when dual channel replication fails. (#1149) * Fix a performance regression where a replica does not properly initialize the database size when loading a snapshot during replication. (#1199) * Make sure the last accessed time is correctly updated when using the `TOUCH` command with the `CLIENT NO-TOUCH` option. * Fix a bug where `total_net_repl_output_bytes` may report the wrong. (#1486) * Fix a bug where `used_memory_scripts` may report the wrong value. (#1255) * Fix a bug where server might crash when using active defrag when scripts are evicted from the script cache. (#1310) * Fix a bug where extra memory would be used when storing strings in the inline protocol. (#1213) * Fix a bug where the `SORT` command may throw a cross slot error. (#1182) * Fix a bug where the `RANDOMKEY` command may omit returning keys in cluster mode. (#1155) * Send the correct error message when `FUNCTION KIlL` is used to kill an ongoing script. (#1171) * Fix a potential memory corruption when databases are emptied, such as through `FLUSHDB`, when during active defrag is running. (#1512) Behavior changes ================ * Revert an unintended breaking change when sending an unsubuscribe command when a client is not subscribed to any channels. (#1265)