CVE-2026-25243

NameCVE-2026-25243
DescriptionRedis 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4682-1, DSA-6538-1
Debian Bugs1147421

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
redict (PTS)forky, sid7.3.6+ds-3vulnerable
redis (PTS)bookworm5:7.0.15-1~deb12u7vulnerable
bookworm (security)5:7.0.15-1~deb12u10fixed
trixie5:8.0.2-3+deb13u2vulnerable
trixie (security)5:8.0.2-3+deb13u3fixed
forky, sid5:8.0.6-3fixed
valkey (PTS)trixie (security), trixie8.1.1+dfsg1-3+deb13u2vulnerable
forky, sid9.1.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
redictsource(unstable)(unfixed)
redissourceexperimental5:8.6.3-1
redissourcebullseye(not affected)
redissourcebookworm5:7.0.15-1~deb12u8DLA-4682-1
redissourcetrixie5:8.0.2-3+deb13u3DSA-6538-1
redissource(unstable)5:8.0.6-31147421
valkeysource(unstable)9.1.1-1

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)

Search for package or bug name: Reporting problems