CVE-2025-67733
Valkey: Valkey: Data tampering and denial of service via improper null character handling in Lua scripts
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 24, 2026
Updated · June 30, 2026
Description
A flaw was found in Valkey, a distributed key-value database. A malicious user can exploit this vulnerability by using scripting commands to inject arbitrary information into the response stream. This is caused by improper handling of null characters in the error handling code for Lua scripts. Successful exploitation could lead to corrupting or returning tampered data to other users on the same connection, impacting data integrity and availability.
Statement
This is an IMPORTANT flaw in Valkey, a distributed key-value database, where a malicious user can inject arbitrary data into the response stream via Lua scripting commands. This could lead to data corruption or tampering for other clients sharing the same connection. Exploitation requires the ability to execute scripting commands within Valkey.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 7.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
CWE-170 · Improper Null Termination