| Name | CVE-2026-25243 |
| Description | Redis is an in-memory data structure store. In versions of redis-server up to 8.6.3, the RESTORE command does not properly validate serialized values. An authenticated attacker with permission to execute RESTORE can supply a crafted serialized payload that triggers invalid memory access and may lead to remote code execution. A workaround is to restrict access to the RESTORE command with ACL rules. This is patched in version 8.6.3. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4682-1, DSA-6538-1 |
| Debian Bugs | 1147421 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| redict (PTS) | forky, sid | 7.3.6+ds-3 | vulnerable |
| redis (PTS) | bookworm | 5:7.0.15-1~deb12u7 | vulnerable |
| bookworm (security) | 5:7.0.15-1~deb12u10 | fixed |
| trixie | 5:8.0.2-3+deb13u2 | vulnerable |
| trixie (security) | 5:8.0.2-3+deb13u3 | fixed |
| forky, sid | 5:8.0.6-3 | fixed |
| valkey (PTS) | trixie (security), trixie | 8.1.1+dfsg1-3+deb13u2 | vulnerable |
| forky, sid | 9.1.2-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bullseye] - redis <not-affected> (Vulnerable code not present; checks for dups introduced later)
https://github.com/redis/redis/security/advisories/GHSA-c8h9-259x-jff4
https://www.zeroday.cloud/blog/redis-cve-2026-25243-deep-dive
Fixed by: https://github.com/redis/redis/commit/b9dde6fc25dec6191b18374335a076a7b31e3d02 (8.6.3)
When fixing this issue make the fix complete with the followups for CVE-2026-66373 to
open up CVE-2026-66373.
valkey is affected as well, zipmapValidateIntegrity() lacks the overlong length-encoding
check; ASan heap-buffer-overflow in zipmapDecodeLength() on 8.1.1+dfsg1-3+deb13u2.
https://github.com/valkey-io/valkey/pull/3619
valkey fixed by: https://github.com/valkey-io/valkey/commit/fea0b4064cf612d1c365b032326832bff0946bd9 (8.1.7)