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

## Executive Summary (TL;DR)
Valkey 8.1.12 is a security and bug-fix release addressing a critical use-after-free vulnerability in client eviction alongside numerous server stability, memory leak, and replication consistency issues. Operators running high-load clusters or utilizing maxmemory-clients should apply this patch as soon as possible.

## Improvements
- Bounded the time spent per cycle evicting keys from the client tracking table to prevent long stalls.
- Redacted credentials of rejected HELLO, AUTH, and MIGRATE commands from MONITOR and the commandlog.
- Bounded bytes read per cluster bus event to prevent peers from starving clients, cron tasks, and heartbeats.

## Bug Fixes
- CVE-2026-130822: Fixed a use-after-free crash in client eviction when maxmemory-clients is enabled.
- Fixed a server crash when a key name of 2 GiB or more is sampled for eviction.
- Fixed a memory leak when server.register_function named arguments are repeated in a different letter case.
- Fixed `EXEC` succeeding after a key already expired at `WATCH` time is overwritten on replicas.
- Fixed a TLS busy loop consuming 100% CPU when handlers were removed while OpenSSL was waiting for events.
