Valkey 9.1.3stable Released Oct 26, 2026
Impact Score: 8/10

Valkey 9.1.3 - 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-16.

Automated impact estimate - compatibility not verified
📄 .MD
⚡ Executive Summary (TL;DR)

Valkey 9.1.3 is a security and maintenance release addressing a critical heap buffer overflow vulnerability in cluster Pub/Sub alongside numerous stability and replication fixes. Upgrading promptly is highly recommended to prevent potential code execution risks and data divergence issues.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Review modules, stream command behaviors, and hash operations affected by bug fixes and security patching.

📊 Product & Engineering Leads

Ensure high application reliability and security compliance by scheduling this security update without altering feature roadmaps.

⚙️ DevOps & Security

Deploy this security patch immediately to mitigate CVE/GHSA-f4q9-j22m-xqq9 and prevent cluster file locking or replication divergence issues.

⚡ Performance & Enhancements (2)

  • Redact error text in server logs when hide-user-data-from-log is enabled
  • Improve cluster config saving by moving locks to a separate nodes.conf.lock file for SMB filesystem and stability support

🔧 Bug Fixes & Patches (5)

  • GHSA-f4q9-j22m-xqq9: Fix a heap buffer overflow in cluster Pub/Sub message construction
  • Fix stream commands not triggering WATCH and client-side tracking invalidation
  • Reject module write commands while the server is paused for writes
  • Fix event loop busy-spinning on virtual machines with non-TSC kernel clocksources
  • Fix atomic slot migration replication issues and maxmemory memory growth on import targets

❓ Frequently Asked Questions

Does Valkey 9.1.3 contain breaking changes?

No breaking changes are explicitly documented in this release, though it resolves multiple critical security vulnerabilities and functional bugs.

What is the primary highlight of 9.1.3?

The primary highlight is the fix for GHSA-f4q9-j22m-xqq9, a heap buffer overflow in cluster Pub/Sub message construction that could permit arbitrary code execution.

How should teams prepare to upgrade to 9.1.3?

Teams should apply this patch as soon as possible due to its security classification, verifying that cluster configurations, replica states, and module commands function correctly after deployment.

📄 View Raw Release Notes (Original Developer Log)
Valkey 9.1.3 - Released Mon 26 October 2026 --------------------------------------------- Upgrade urgency SECURITY: This release includes security fixes we recommend you apply as soon as possible. ### Security Fixes * GHSA-f4q9-j22m-xqq9: Fix a heap buffer overflow in cluster Pub/Sub message construction that could allow an authenticated client to potentially execute arbitrary code by publishing an oversized message by @roshkhatri (#5030) ### Bug Fixes * Fix stream commands that mutate consumer-group or PEL state (`XGROUP`, `XSETID`, `XREADGROUP`, `XACK`, `XCLAIM`, `XAUTOCLAIM`) not triggering `WATCH` and client-side tracking invalidation by @Tarte12 (#3459) * Reject module write commands while the server is paused for writes, preventing a crash from module timer callbacks during `CLIENT PAUSE WRITE` or `CLUSTER FAILOVER` by @smkher (#3645) * Fix event loop busy-spinning on virtual machines by not using raw TSC for the monotonic clock when the kernel clocksource is not tsc by @quanyeyang (#4707) * Fix a crash in `ValkeyModule_HashHasStringRef` on a missing or expired field and correct wrong return values in the hash stringRef module APIs by @ShubhamTaple (#4504) * Fix a server abort on a RESTORE payload declaring a string length that overflows the allocation size; such payloads are now rejected as bad data by @enjoy-binbin (#4733) * Fix ZINTER/ZINTERSTORE returning input-order-dependent scores when a weighted term is 0*inf; a NaN weighted score now counts as 0, matching ZUNION by @leomurillo (#4997) * Clear a stale primary-failure gossip flag on replicas so later failovers don't incorrectly skip the election delay by @charsyam (#4533) * Correct `ValkeyModule_FreeModuleUser`, `ValkeyModule_ACLAddLogEntry` and `ValkeyModule_ACLAddLogEntryByUserName` declarations to return int as implemented, fixing undefined behavior on targets with strict call signature checks by @rainsupreme (#4676) * valkey-check-aof now recognizes RDB base files with the `VALKEY` signature instead of misreporting a valid multipart AOF as invalid by @sarthakaggarwal97 (#4739) * Fix module commands that access undeclared keys in other slots reading or writing the wrong slot in cluster mode, and aborting in debug builds by @patrickswedish (#4424) * Reject relative expire times in `SET`/`GETEX`, `RESTORE`, and `ValkeyModule_SetExpire` that overflow when added to the current time, preventing server aborts from negative expires by @madolson (#4880) * `HDEL`, `HGETDEL`, `HPERSIST`, and `HEXPIRE` no longer propagate fields they treat as expired, preventing replica and AOF-reload divergence by @xdk-amz (#4772) * Fix a server crash when loading an ACL file containing a selector with an unmatched parenthesis by @magic-peach (#4214) * Fix a segfault on Alpine/musl when Lua is built as a module, caused by a symbol clash on an internal clock function by @mohammedgqudah (#4270) * `COPY` of a hash now includes expired-but-unreaped fields so their deletion is propagated and replicas stay in sync by @pirate329 (#4939) * Restore acceptance of hexadecimal float sorted set scores (such as `0x10`), keeping replication and AOF replay compatible with Valkey 9.0 by @quanyeyang (#4875) * Sorted set range commands with a negative `LIMIT` offset now return an empty result instead of a spurious element on btree-encoded keys by @xiaocj (#4637) * Fix listpack encoding incompatibility that caused RDB load and replication failures for entries of certain lengths between 9.0 and 9.1.x by @jjuleslasarte (#4819) * Fix atomic slot migration not replicating evictions on the import target, which let replicas grow far past `maxmemory` by @shanezx-sc (#4920) * Redact error text in server logs when `hide-user-data-from-log` is enabled, so command arguments no longer leak into logs by @zackcam (#4815) * Fix `HSETEX` and `HGETEX` failing to parse their arguments when the key is named `fields` by @sebxt (#4945) * Fix cluster config saving to avoid publishing truncated `nodes.conf` files, losing the startup lock after the first save, and failing every save on SMB filesystems such as Azure Files; the lock now lives on a separate `nodes.conf.lock` file by @KewangZhili (#4489) * Fix `LSET` on 64-bit builds silently modifying the wrong element for out-of-range indexes instead of returning an index out of range error by @charsyam (#4823) * Fix atomic slot migration with `cluster-databases` > 1 applying writes made during the snapshot to the wrong database on the target by @pirate329 (#4952) **Full Changelog**: https://github.com/valkey-io/valkey/compare/9.1.2...9.1.3