CVE-2025-67733

Valkey Affected by RESP Protocol Injection via Lua error_reply

State
Published
Severity
8.5 High
Published
Feb 23, 2026
Updated
Jul 15, 2026
Reserved
Dec 11, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.5 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:HGitHub_M
3.17.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:Hredhat-SADP

Weaknesses

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
  • CWE-170 Improper Null Termination

Affected Products

ProductVersions
valkeyvalkey-io
  • < 7.2.12Affected
  • >= 8.0.0, < 8.0.7Affected
  • >= 8.1.0, < 8.1.6Affected
  • >= 9.0.0, < 9.0.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.