# Valkey 8.0.5 - Release & Upgrade Intelligence
- **Product:** Valkey (https://valkey.io)
- **Version:** 8.0.5
- **Released:** Aug 22, 2025
- **Impact Score:** 6/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/valkey/updates/8.0.5/

## Executive Summary (TL;DR)
Valkey 8.0.5 is a critical security and maintenance release addressing CVE-2025-27151 alongside multiple stability, clustering, and memory-handling fixes. Users are strongly recommended to apply this upgrade as soon as possible to mitigate security risks and prevent potential data or node corruption.

## Improvements
- Trigger election immediately during forced manual failovers to avoid delays
- Add support to drop all cluster packets and improve log clarity in failover auth denials

## Bug Fixes
- CVE-2025-27151: Check length of AOF file name in valkey-check-aof and reject paths longer than PATH_MAX
- Fix clients remaining blocked when reprocessing commands after certain blocking operations
- Fix memory corruption in sharded pub/sub unsubscribe logic
- Fix potential memory leak when aux_save2 callback writes no data
- Fix missing NULL check on SSL_new() when creating outgoing TLS connections
- Fix replica failover stall due to outdated config epoch
- Fix incorrect port/tls-port info in CLUSTER SLOTS/CLUSTER NODES after dynamic config changes
- Ensure empty error tables in Lua scripts do not crash Valkey
- Handle divergent shard-id from nodes.conf and reconcile to primary node's shard-id
