CVE-2026-25243

redis-server RESTORE invalid memory access may allow remote code execution

Published May 5, 2026 CVSS 4.0 · 7.7 High EPSS 4.0% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Redis includes a RESTORE command that ingests serialized data structures. In versions prior to 8.6.3, the command does not properly validate the input, allowing a crafted payload to trigger an invalid memory access. This memory corruption can lead to arbitrary code execution in the context of the redis‑server process. The flaw corresponds to CWE‑122.

Affected Systems

The vulnerability affects Redis versions released before 8.6.3. Any deployment running a Redis server earlier than the 8.6.3 release, regardless of operating system or environment, is susceptible.

Risk and Exploitability

The CVSS score of 7.7 indicates high severity. The EPSS score of 3% reflects a modest likelihood of exploitation when it exists. The vulnerability is not listed in CISA KEV. An attacker must be authenticated and granted permission to use the RESTORE command—typically achieved through weak or missing ACL rules. Once a malicious payload is processed, an authenticated attacker could gain remote code execution on the host running redis‑server.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Redis 8.6.3 or later to apply the official fix
  • If an upgrade is not immediately possible, configure ACL rules to restrict the RESTORE command to trusted users only
  • Avoid processing serialized payloads from untrusted sources by disabling or restricting access to the RESTORE command

Generated by OpenCVE AI on June 30, 2026 at 16:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4682-1 redis security update
Debian DSA Debian DSA DSA-6538-1 redis security update
History
Type Values Removed Values Added
CPEs cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Redis
Redis redis
Vendors & Products Redis
Redis redis
Type Values Removed Values Added
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.
Title redis-server RESTORE invalid memory access may allow remote code execution
Weaknesses CWE-122
References
Metrics cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 16, 2026, 12:04 PM
Reserved
Jan 30, 2026, 2:44 PM
Status
Modified
Published
May 5, 2026, 5:17 PM
Modified
Jul 25, 2026, 11:10 AM
Severity
Important
Public date
May 5, 2026, 4:44 PM