CVE-2025-67733: Valkey Affected by RESP Protocol Injection via Lua error_reply
Vulnerability summary
CVE-2025-67733 is a high (CVSS 8.5) vulnerability in lfprojects valkey. EPSS estimates a 0.81% chance of exploitation in the next 30 days, higher than 58.2% of scored vulnerabilities.
Not severe (CVSS 8.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 4Timeline
- 23-02-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:HDiffers
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:HDiffers
- NVDNIST7.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:HDiffers
EPSS trend
Probability
0.81%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
Increase +0.16 pp
From 0.65% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream ComponentThe product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
- CWE-170Improper Null TerminationThe product does not terminate or incorrectly terminates a string or array with a null character or equivalent terminator.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian3 products
- redict< 7.3.6+ds-2
- redis< 5:7.0.15-1~deb12u7 | < 5:8.0.2-3+deb13u2 | < 5:8.0.6-1
- valkey< 8.1.1+dfsg1-3+deb13u2 | < 8.1.4+dfsg1-2
Alpine1 product
- valkey≥ 8.0.0, < 7.2.12-r0 | ≥ 8.0.0, < 8.1.6-r0 | ≥ 8.0.0, < 9.0.3-r0 | < 7.2.12-r0 | ≥ 8.1.0, < 8.1.6-r0 | ≥ 9.0.0, < 9.0.3-r0
Lfprojects1 product
- valkey< 7.2.12 | ≥ 8.0.0, < 8.0.7 | ≥ 8.1.0, < 8.1.6 | ≥ 9.0.0, < 9.0.2
Ubuntu1 product
- valkey< 7.2.12+dfsg1-0ubuntu0.1 | < 8.1.6+dfsg1-0ubuntu0.1
Valkey-io1 product
- valkey< 7.2.12 | ≥ 8.0.0, < 8.0.7 | ≥ 8.1.0, < 8.1.6 | ≥ 9.0.0, < 9.0.2
5 vendors · 7 products
References
13 links- github.com/valkey-io/valkey/security/advisories/GHSA-p876-p7q5-hv2mX Refsource CONFIRMREPORTVendor Advisory