All vulnerabilities

Servers and applications

CVE-2026-56684

UAF in Valkey with TLS may lead to remote code execution

Severity
High 7.5
Published
22 Jul 2026
Last changed
22 Jul 2026
Added to UpHeron
3 Nov 2026
Fixed in
7.2.14
Exploit chance
0.5% in the next 30 daysHigher than 45% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Use after free (CWE-416)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-53mc-f3m3-99vh
Sources
Project advisories (GitHub)

Description

A use-after-free vulnerability exists in Valkey's TLS connection handling that can crash the server that can potentially lead to remote code execution. When TLS is enabled, the server keeps a list of connections that have leftover data waiting to be read. While working through that list, one connection being closed can cause Valkey to access memory belonging to another connection that was just freed.

This happens when an authenticated client closes a connection (for example, via CLIENT KILL) while another TLS connection still has buffered data pending. The freed memory could in principle be reclaimed and controlled via heap grooming which can lead to a potential remote code execution.

This issue only affects deployments with TLS enabled. Non-TLS deployments are not affected.

From valkey-io/valkey's security advisory.

Workarounds

There is no complete workaround that covers the trigger path without upgrading, but the following mitigations reduce exposure:

  • Restrict the CLIENT command via ACLs — Disable CLIENT KILL for users who don't need it: ACL SETUSER -client
  • Disable TLS if not required — The vulnerability is only reachable when TLS is enabled. Deployments not using TLS are unaffected.
  • Network isolation — Restrict network access to the Valkey server to trusted clients only.
Workarounds as given by valkey-io/valkey's security advisory.

Affected software

SoftwareAffected versions
ValkeyServers and applications · github:valkey-io/valkey
  • Every version before 7.2.14

About Valkey

NoSQL database management software forked from Redis

From Wikidata, CC0 1.0.
Developers who used it in the past year
2.4%Stack Overflow Developer Survey 2025, 2025
Docker Hub pulls
404,291,684Docker Hub, 15 Nov 2026
GitHub stars
27,721GitHub, 15 Nov 2026
Forks
1,535GitHub, 15 Nov 2026
Latest release
9.1.3GitHub, 15 Nov 2026
Released
26 Oct 2026GitHub
License
3-clause BSD LicenseWikidata
Written in
CWikidata
First released
28 Mar 2024Wikidata
First published on GitHub
22 Mar 2024GitHub

Release lines

ReleaseLatestSecurity fixes
9.19.1.3Until 19 May 2031
9.09.0.7Until 21 Oct 2028
8.18.1.11Until 31 Mar 2030
8.08.0.12Until 15 Sept 2027
7.27.2.15Until 16 Apr 2029

From endoflife.date.

References