Skip to main content

Redis CVE-2025-46817

| EUVDEUVD-2025-33202 HIGH
Integer Overflow or Wraparound (CWE-190)
2025-10-03 security-advisories@github.com
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Redis instance
  2. Delivery
    Submit crafted Lua script via EVAL
  3. Exploit
    Trigger integer overflow in Lua unpack
  4. Execution
    Corrupt heap memory layout
  5. Impact
    Execute arbitrary code on host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated Redis user who is permitted to execute server-side Lua scripts via EVAL/EVALSHA; the attacker crafts a script (e.g., calling unpack() with crafted/out-of-range indices such as very large or negative bounds) to force an integer overflow (CWE-190) in the bundled Lua interpreter's stack/table handling. Lua scripting is present and enabled by default in all affected Redis versions, so no non-default feature flag is needed, but exploitation IS limited by the PR:L requirement - the attacker must first authenticate and hold script-execution privileges. Deployments that disable or ACL-restrict scripting, enforce authentication, and avoid network exposure materially reduce exploitability.

Impact

Signals mostly align toward genuine priority for Redis operators. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) describes a network-reachable, low-complexity flaw needing only low privileges, with full confidentiality/integrity/availability impact consistent with the described remote-code-execution potential. EPSS reinforces this: 13.20% is high and sits in the 94th percentile, and public exploit code is confirmed available, so weaponization effort is reduced. However, this is NOT in CISA KEV - there is no confirmed active exploitation, so the POC availability and elevated EPSS indicate exploitability and attacker interest rather than observed in-the-wild attacks; do not conflate the two. The one tempering factor is PR:L: exploitation requires an authenticated user permitted to run Lua scripts (EVAL/EVALSHA), so instances that are properly access-controlled and not internet-exposed face meaningfully lower real-world risk than the raw 8.8 suggests. Net: a real, patch-now priority for any Redis instance where untrusted or semi-trusted users can submit scripts, or where the service is network-exposed, but lower urgency for well-isolated, authenticated-only deployments.

Exploit ScenarioDerived

An attacker who has authenticated to a Redis instance with permission to run Lua scripts submits a specially crafted script (for example abusing unpack() with out-of-range indices) that triggers an integer overflow in the bundled Lua interpreter's stack handling. The resulting memory corruption can be steered toward remote code execution on the Redis host. Public exploit/POC code exists, and because the CVSS vector is AV:N/AC:L, the script can be delivered remotely with low complexity once the attacker has script-execution access.

Act Now Prioritize within 24-48h. Why: HIGH severity + EPSS > 10%.
Patch available 13.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Oct 19, 2026

Authenticated Redis users with permission to run server-side Lua can trigger an integer overflow (CWE-190) in the bundled Lua interpreter by calling unpack() with crafted out-of-range indices, potentially escalating to remote code execution in Redis 8.2.1 and earlier. The issue affects all Redis versions that include Lua scripting, which is enabled by default, and carries a CVSS score of 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflecting high confidentiality, integrity, and availability impact but a low-privilege authenticated prerequisite. Publicly available exploit code exists, and EPSS is elevated at 13.20% (94th percentile), although active exploitation has not been confirmed by CISA KEV.

Earlier versions of this analysis (1)
v1 Mar 13, 2026 - 19:29 CVSS 7.0

RemediationAI

Upgrade to Redis 8.2.2 or later, which contains the upstream fix in commit fc9abc775e308374f667fdf3e723ef4b7eb0e3ca and is documented in the GitHub release at https://github.com/redis/redis/releases/tag/8.2.2 and advisory GHSA-m8fj-85cg-7vhp; apply the corresponding distribution updates from Ubuntu USN-7893-1, Debian DLA-4325-1/DSA-6020-1/DSA-6022-1, or the relevant Red Hat RHSA errata where Redis is packaged by the OS. Where immediate upgrade is not possible, reduce exposure by requiring strong authentication, binding Redis to trusted interfaces rather than exposing it to untrusted networks, and restricting script execution through Redis ACLs by denying EVAL/EVALSHA (and related scripting commands) to users who do not require them; note that broad ACL restrictions can break applications that legitimately rely on server-side Lua. If scripting is entirely unused, disabling or renaming the EVAL/EVALSHA commands removes the attack path but will break any dependent workloads, and continuing to allow low-privilege authenticated users to run arbitrary Lua leaves the vulnerable interpreter reachable.

Affected VersionsENISA

Redis < 8.2.2

Affected Packages

euvd redis fix: 8.2.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Redis embeds a Lua 5.1-derived interpreter (deps/lua) to support EVAL and EVALSHA scripting. The root cause is CWE-190 integer overflow in the interpreter's stack and table handling: the upstream fix changes lbaselib.c so unpack() computes the element count with unsigned arithmetic and rejects counts that overflow or reach INT_MAX, and changes ltable.c newkey() to use a straightforward signed range comparison for array indices instead of an unsigned cast. Without those checks, crafted bounds passed to unpack() can overflow the computed result count, defeat lua_checkstack-style stack sizing, and lead to out-of-bounds memory operations in the Lua VM inside the Redis process. Because scripts execute in-process with Redis privileges, successful corruption can potentially be leveraged for remote code execution. The affected component is the bundled Lua interpreter shipped with Redis, so any Redis build with scripting enabled-typically the default-contains the vulnerable code path; exploitation requires an authenticated connection permitted to invoke EVAL/EVALSHA.

Know when Redis gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable script submission (AV:N/AC:L), but requires an authenticated user allowed to run Lua (PR:L); memory-corruption RCE on the server yields C:H/I:H/A:H with unchanged scope.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Ubuntu MEDIUM
SUSE HIGH
Red Hat 8.8 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Oct 19, 2026 - 17:23 NVD
7.0 (HIGH) 8.8 (HIGH)
Patch released
Jan 27, 2026 - 19:37 nvd
Patch available
CVE Published
Oct 03, 2025 - 18:15 nvd
HIGH 8.8
CVE Published
Oct 03, 2025 - 18:15 nvd
HIGH 7.0

DescriptionNVD

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 cause an integer overflow and potentially lead to remote code execution The problem exists in all versions of Redis with Lua scripting. This issue is fixed in version 8.2.2.

Executive ViewAI

Why It Matters

Organizations using Redis face moderate risk from CVE-2025-46817, a integer overflow vulnerability rated CVSS 7.0. Exploitation could allow attackers to corrupt memory, crash the application, or potentially execute arbitrary code. With an EPSS score of 13%, exploitation is likely in exposed deployments. A patch is available and should be applied as part of regular vulnerability management.

Business Impact: Moderate
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Implement network-level access controls to limit exposure; (2) Enable enhanced monitoring and alerting; (3) Apply principle of least privilege.

Threat Intelligence Overview

Threat Score
5.7/10
Composite threat intelligence
EPSS Score
13.2%
Top 6% exploitable
Prevalence
High
widely deployed enterprise/cloud in-memory datastore across backend stacks
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 13.2%
Patch available Yes
Active threat Yes
Deciding rule
HIGH severity + EPSS > 10%
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No

Priority Score

87
Low Medium High Critical
KEV: 0
EPSS: +13
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Redis

View all
CVE-2026-48172 CRITICAL POC
10.0 May 21

Privilege escalation to root in the LiteSpeed User-End cPanel Plugin (versions 2.3 through before 2.4.5) lets attackers

CVE-2020-11981 CRITICAL POC
9.8 Jul 17

An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2024-31449 HIGH
8.8

Alpine Linux: valkey fixed in 7.2.7-r0

CVE-2025-49844 CRITICAL POC
9.9 Oct 03

UAF in Redis 8.2.1 via crafted Lua scripts by authenticated users. EPSS 12.4%. Patch available.

CVE-2022-0543 CRITICAL POC
10.0 Feb 18

It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific

CVE-2018-11218 CRITICAL POC
9.8 Jun 17

Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10,

CVE-2015-4335 CRITICAL POC
10.0 Jun 09

Redis before 2.8.21 and 3.x before 3.0.2 allows remote attackers to execute arbitrary Lua bytecode via the eval command.

CVE-2016-8339 CRITICAL POC
9.8 Oct 28

A buffer overflow in Redis 3.2.x prior to 3.2.4 causes arbitrary code execution when a crafted command is sent. Rated cr

CVE-2025-46819 HIGH POC
7.1 Oct 03

Authenticated Lua script execution in Redis 8.2.1 and earlier can be abused with a crafted long-string delimiter to trig

CVE-2026-77602 CRITICAL POC
9.9 Sep 23

Authenticated remote code execution in OpenC3 COSMOS (Ruby gem 'openc3' versions 5.1.0 through 7.2.1) lets any logged-in

CVE-2025-46818 HIGH POC
7.3 Oct 03

CVE-2025-46818 is a sandbox-escape flaw in Redis's embedded Lua scripting engine (all versions up to and including 8.2.1

CVE-2026-27574 CRITICAL POC
9.9 Feb 21

Code injection in OneUptime monitoring via custom JS monitor using vm module. PoC and patch available.

Vendor StatusVendor

Ubuntu

Priority: Medium
redict
Release Status Version
jammy DNE -
noble DNE -
upstream needs-triage -
plucky ignored end of life, was needs-triage
questing needs-triage -
valkey
Release Status Version
jammy DNE -
upstream needs-triage -
noble released 7.2.11+dfsg1-0ubuntu0.2
plucky released 8.0.6+dfsg1-0ubuntu0.2
questing released 8.1.4+dfsg1-0ubuntu0.2
redis
Release Status Version
bionic not-affected uses system lua
focal not-affected uses system lua
jammy not-affected uses system lua
noble not-affected uses system lua
plucky not-affected uses system lua
trusty not-affected uses system lua
upstream released 8.2.2
xenial not-affected uses system lua
questing not-affected uses system lua

Debian

Bug #1117690
redict
Release Status Fixed Version Urgency
forky, sid fixed 7.3.6+ds-1 -
(unstable) fixed 7.3.6+ds-1 -
redis
Release Status Fixed Version Urgency
bullseye fixed 5:6.0.16-1+deb11u8 -
bullseye (security) fixed 5:6.0.16-1+deb11u8 -
bookworm, bookworm (security) fixed 5:7.0.15-1~deb12u6 -
trixie (security), trixie fixed 5:8.0.2-3+deb13u1 -
forky, sid fixed 5:8.0.5-1 -
bookworm fixed 5:7.0.15-1~deb12u6 -
trixie fixed 5:8.0.2-3+deb13u1 -
(unstable) fixed 5:8.0.4-1 -
valkey
Release Status Fixed Version Urgency
trixie (security), trixie fixed 8.1.1+dfsg1-3+deb13u1 -
forky, sid fixed 8.1.4+dfsg1-1 -
trixie fixed 8.1.1+dfsg1-3+deb13u1 -
(unstable) fixed 8.1.4+dfsg1-1 -

SUSE

Severity: High
Product Status
Image SL-Micro-Azure Image SL-Micro-BYOS-Azure Image SL-Micro-BYOS-EC2 Image SL-Micro-BYOS-GCE Image SL-Micro-EC2 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Image SUSE-Multi-Linux-Manager-Proxy-BYOS-Azure Image SUSE-Multi-Linux-Manager-Proxy-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-Azure-llc Image SUSE-Multi-Linux-Manager-Server-Azure-ltd Image SUSE-Multi-Linux-Manager-Server-BYOS-Azure Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Server-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-EC2-llc Image SUSE-Multi-Linux-Manager-Server-EC2-ltd Affected
SUSE Enterprise Storage 7.1 Fixed
SUSE Liberty Linux 8 Fixed
SUSE Liberty Linux 9 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS Fixed

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain), Metasploit/Nuclei

References

Advisories & patches
PATCH https://github.com/redis/redis/commit/fc9abc775e308374f667fdf3e723ef4b7eb0e3ca ADVISORY https://access.redhat.com/errata/RHSA-2025:18931 ADVISORY https://access.redhat.com/errata/RHSA-2025:18996 ADVISORY https://access.redhat.com/errata/RHSA-2025:18997 ADVISORY https://access.redhat.com/errata/RHSA-2025:19086 ADVISORY https://access.redhat.com/errata/RHSA-2025:19237 ADVISORY https://access.redhat.com/errata/RHSA-2025:19238 ADVISORY https://access.redhat.com/errata/RHSA-2025:19239 ADVISORY https://access.redhat.com/errata/RHSA-2025:19318 ADVISORY https://access.redhat.com/errata/RHSA-2025:19345 ADVISORY https://access.redhat.com/errata/RHSA-2025:19399 ADVISORY https://access.redhat.com/errata/RHSA-2025:19675 ADVISORY https://access.redhat.com/errata/RHSA-2025:20926 ADVISORY https://access.redhat.com/errata/RHSA-2025:20955 ADVISORY https://access.redhat.com/errata/RHSA-2025:21916 ADVISORY https://access.redhat.com/errata/RHSA-2025:21936 ADVISORY https://github.com/redis/redis/security/advisories/GHSA-m8fj-85cg-7vhp ADVISORY https://security-tracker.debian.org/tracker/dla-4325-1 ADVISORY https://security-tracker.debian.org/tracker/dsa-6020-1 ADVISORY https://security-tracker.debian.org/tracker/dsa-6022-1 ADVISORY https://ubuntu.com/security/notices/USN-7893-1 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03499/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03500/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03501/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03502/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03505/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03506/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03507/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20022/ REF https://github.com/redis/redis/releases/tag/8.2.2

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy