CVE-2026-25243: Heap-based buffer overflow in Redis and Valkey RESTORE
- Vendor
- Redis
CVE-2026-25243 is a heap-based buffer overflow in the processing of serialized values supplied to the Redis RESTORE command. Inconsistent validation and parsing of legacy hash-zipmap objects can cause an out-of-bounds heap write, potentially providing an arbitrary-write primitive and remote code execution. Exploitation requires an authenticated attacker authorized to execute RESTORE. The vulnerability also affects Valkey, with exploitation demonstrated against version 7.2.11.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can execute arbitrary code with the privileges of the Redis or Valkey server process, compromising database confidentiality and integrity and potentially exposing other resources accessible to that service account. Memory corruption can also crash the service and cause denial of service. Active exploitation was observed on October 16–17, 2026, including scripted attacks that wiped the Redis keyspace. Root access and broader infrastructure compromise are not inherent outcomes and require additional privileges, vulnerabilities, or deployment weaknesses.
Mitigation
If you can’t patch tonight, do this now.
Deny RESTORE through ACL rules for untrusted users and application accounts that do not strictly require data-restoration functionality. Restrict Redis and Valkey network access to trusted clients and enforce authentication and least-privilege ACLs. Network segmentation and service-process confinement can reduce exposure and post-exploitation impact, but do not replace patching.
Remediation
Patch, then assume compromise.
Install the latest vendor-supported security update for the deployed Redis or Valkey branch. Initial Redis fixes were released in versions 6.2.22, 7.2.14, 7.4.9, 8.2.6, 8.4.3, and 8.6.3. A subsequent incomplete-fix issue was assigned CVE-2026-66373, so use a current release incorporating both fixes rather than relying solely on these initial minimum versions. For Debian 13, comprehensive Redis fixes are available in version 5:8.0.2-3+deb13u3; the Valkey security update is available in version 8.1.1+dfsg1-3+deb13u3. Later security-fixed packages are also suitable.
Exploits
2 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-25243 exploited in the wild?
- Yes. As of Nov 4, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2026-25243?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2026-25243, the earliest disclosed Jun 13, 2026.
- Is there a patch for CVE-2026-25243?
- Install the latest vendor-supported security update for the deployed Redis or Valkey branch. Initial Redis fixes were released in versions 6.2.22, 7.2.14, 7.4.9, 8.2.6, 8.4.3, and 8.6.3.
- What products are affected by CVE-2026-25243?
- Redis.
- How severe is CVE-2026-25243?
- CVE-2026-25243 has a CVSS v4 score of 7.7 (High) and an EPSS score of 1.9% (80th percentile) as of Nov 4, 2026.
Recent activity
66 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.