CVE-2025-67733Valkey Affected by RESP Protocol Injection via Lua error_reply
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | valkey | Fixed | 8.1.6+dfsg1-0ubuntu0.1 | UBUNTU-CVE-2025-67733 |
| Ubuntu 24.04 | valkey | Fixed | 7.2.12+dfsg1-0ubuntu0.1 | UBUNTU-CVE-2025-67733 |
| Debian 14 | redis | Fixed | 5:8.0.6-1 | DEBIAN-CVE-2025-67733 |
| Debian 14 | valkey | Fixed | 8.1.4+dfsg1-2 | DEBIAN-CVE-2025-67733 |
| Debian 13 | redis | Fixed | 5:8.0.2-3+deb13u2 | DEBIAN-CVE-2025-67733 |
| Debian 13 | valkey | Fixed | 8.1.1+dfsg1-3+deb13u2 | DEBIAN-CVE-2025-67733 |
| Debian 12 | redis | Fixed | 5:7.0.15-1~deb12u7 | DEBIAN-CVE-2025-67733 |
| Red Hat Enterprise Linux 10 | valkey | Fixed | 0:8.0.7-1.el10_1 | RHSA-2026:3443 |
| Red Hat Enterprise Linux 10 | valkey-devel | Fixed | 0:8.0.7-1.el10_1 | RHSA-2026:3443 |
| Red Hat Enterprise Linux 9 | valkey | Fixed | 0:8.0.7-1.el9_7 | RHSA-2026:3507 |
| Red Hat Enterprise Linux 9 | valkey-devel | Fixed | 0:8.0.7-1.el9_7 | RHSA-2026:3507 |
| AlmaLinux 10 | valkey | Fixed | 8.0.7-1.el10_1 | ALSA-2026:3443 |
| AlmaLinux 10 | valkey-devel | Fixed | 8.0.7-1.el10_1 | ALSA-2026:3443 |
| AlmaLinux 9 | valkey | Fixed | 8.0.7-1.el9_7 | ALSA-2026:3507 |
| AlmaLinux 9 | valkey-devel | Fixed | 8.0.7-1.el9_7 | ALSA-2026:3507 |
| Rocky Linux 10 | valkey | Fixed | 0:8.0.7-1.el10_1 | RLSA-2026:3443 |
| Rocky Linux 9 | valkey | Fixed | 0:8.0.7-1.el9_7 | RLSA-2026:3507 |
| Alpine Linux 3.24 | valkey | Fixed | 9.0.3-r0 | ALPINE-CVE-2025-67733 |
| Alpine Linux 3.23 | valkey | Fixed | 9.0.3-r0 | ALPINE-CVE-2025-67733 |
| Alpine Linux 3.22 | valkey | Fixed | 8.1.6-r0 | ALPINE-CVE-2025-67733 |
| Alpine Linux 3.21 | valkey | Fixed | 7.2.12-r0 | ALPINE-CVE-2025-67733 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- valkey-io valkey: affected: < 7.2.12, >= 8.0.0, < 8.0.7, >= 8.1.0, < 8.1.6, >= 9.0.0, < 9.0.2
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.