What’s Vulnerable › Vulnerabilities

CVE-2025-67733: Valkey Affected by RESP Protocol Injection via Lua error_reply

Description

Valkey is a distributed key-value database. Prior to versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12, a malicious user can use scripting commands to inject arbitrary information into the response stream for the given client, potentially corrupting or returning tampered data to other users on the same connection. The error handling code for lua scripts does not properly handle null characters. Versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12 fix the issue.

Affected products

How to fix

Upgrade to a fixed version: valkey-io valkey 7.2.12, 8.0.7, 8.1.6, 9.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-67733 or the next vulnerability affects your stack