Security Resilience

CVE-2025-46819

Memory Safety in Redis ≤ 6.2.20

Published
03 October 2025
Modified
19 October 2026
Patch / advisory
CVSS Score v3.1 6.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS Score 0.012 68th percentile
Risk Priority 56 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-46819 is a medium-severity Integer Overflow or Wraparound (CWE-190) vulnerability in Redis. Its CVSS base score is 6.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 32% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-8 (Security and Privacy Engineering Principles) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Redis is an open source in-memory database that supports Lua scripting. CVE-2025-46819 affects all versions up to and including 8.2.1 and stems from insufficient bounds checking when processing specially crafted Lua scripts. The flaw, tracked under CWE-190 and CWE-125, permits an authenticated user to trigger an out-of-bounds read or an integer overflow that can crash the server.

An attacker with a local account and the ability to execute Lua scripts can supply a malicious script via the EVAL or FUNCTION command families. Successful exploitation yields either disclosure of adjacent memory contents or a denial-of-service condition that terminates the Redis process; the CVSS 6.3 vector reflects local access, high attack complexity, and low privileges.

The official fix is included in Redis 8.2.2. The project advisory and release notes also describe a non-patch workaround that uses ACL rules to revoke the EVAL and FUNCTION command families from untrusted users, thereby preventing Lua script execution without modifying the server binary. The associated EPSS scores remain low (current 0.0783, peak 0.0934) with no material upward trajectory after disclosure.

EU & UK References

Vulnerability Data

Redis is an open source, in-memory database that persists on disk. Versions 8.2.1 and below allow an authenticated user to use a specially crafted LUA script to read out-of-bound data or crash the server and subsequent denial of service. The…

more

problem exists in all versions of Redis with Lua scripting. This issue is fixed in version 8.2.2. To workaround this issue without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to block a script by restricting both the EVAL and FUNCTION command families.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1185 Browser Session Hijacking Collection
Adversaries may take advantage of security vulnerabilities and inherent functionality in browser software to change content, modify user-behaviors, and intercept information as part of various browser session hijacking techniques.
T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-0128Shared CWE-125, CWE-190
CVE-2026-0140Shared CWE-125, CWE-190
CVE-2026-31774Shared CWE-125, CWE-190
CVE-2026-48112Shared CWE-125, CWE-190
CVE-2026-33019Shared CWE-125, CWE-190
CVE-2024-3859Shared CWE-125, CWE-190
CVE-2025-22039Shared CWE-125, CWE-190
CVE-2026-64102Shared CWE-125, CWE-190
CVE-2025-48816Shared CWE-125, CWE-190
CVE-2025-48002Shared CWE-125, CWE-190

Affected Assets

redis
redis
≤ 6.2.20 · 7.0 — 7.2.11 · 7.4.0 — 7.4.6

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V5.2.6

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation (static analysis, fuzzing, unit tests) directly finds integer overflow defects before deployment.

Secure engineering principles require use of safe arithmetic constructs or language features that structurally eliminate integer overflow during calculation.

Process isolation confines the effects of an out-of-bounds read to the compromised process.

Input validation enforces bounds on values before arithmetic, stopping the conditions that trigger overflow or wraparound.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require use of safe arithmetic, bounds checks, and testing that prevent integer overflows.

ID.RA-01 partial match
blocks

Vulnerability scanning and recording can discover instances of out-of-bounds reads after code is deployed.

PR.PS-02 partial match
blocks

Routine patching replaces vulnerable code containing out-of-bounds read flaws.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect integer overflows before release.

finds

A.5.21 manages supplier relationships and contractual security requirements, not the technical discovery of out-of-bounds read defects in deployed code.

prevents

A.6.3's education and training of technical teams can raise developer awareness of memory-safety practices (bounds checking, length validation) and reduce some out-of-bounds read introductions, but training is fallible and the strongest controls for this implementation-phase defect are secure coding (A.8.28) and security testing (A.8.29), so the effect is a minority one.

prevents

Secure coding standards explicitly forbid unsafe integer operations and mandate overflow-safe constructs.

prevents

A.8.30 is a contractual/oversight layer that requires the outsourced developer to follow secure coding practices (referencing 8.25–8.28) and to undergo acceptance testing; it does not itself prevent integer overflows from being written, and per the A.5.1 → CWE-89 governance-boundary doctrine, a clause that mandates another clause does not inherit its preventive effect.

finds

A.8.8's reach is DISCLOSURE — it identifies vulnerabilities through vendor advisories, vulnerability scanning, and third-party component tracking. Integer overflows in third-party components with published CVEs are found (the observed examples include several), but the bulk of CWE-190 instances in first-party/custom code are not what A.8.8 reaches; those require source-reading testing (A.8.28/A.8.29). Same logic as the A.8.8 finds CWE-89 = partial anchor.

References