Redis Lua Integer Overflow Leading to Out-of-Bounds Read or Denial of Service
CVE-2025-46819 is an integer overflow or wraparound vulnerability in Redis Lua scripting that allows an authenticated user to submit a specially crafted Lua script to read out-of-bounds memory or crash the server. The underlying issue affects Redis releases supporting Lua scripting, including unpatched versions through 8.2.1. Redis 8.2.2 and security updates for maintained earlier release branches address the vulnerability. Valkey and products embedding affected Redis or Valkey versions are also affected.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can disclose out-of-bounds data from Redis process memory or terminate the Redis server, causing denial of service for dependent applications. Confidentiality and availability are affected; arbitrary code execution, privilege escalation, and integrity compromise are not established outcomes of this specific CVE.
If you can’t patch tonight, do this now.
Prevent untrusted users from executing Lua scripts by applying Redis ACL restrictions covering both the EVAL and FUNCTION command families, including applicable script-execution commands such as EVALSHA. Restrict network access to trusted clients and isolate affected services from untrusted networks. Network restrictions reduce exposure but do not prevent exploitation by an authorized client that retains Lua execution privileges.
Patch, then assume compromise.
Upgrade Redis to a fixed release for the deployed branch: 6.2.20, 7.2.11, 7.4.6, 8.0.4, or 8.2.2, or a subsequent patched release. For affected Valkey deployments, upgrade to 7.2.11, 8.0.6, or 8.1.4, or a subsequent patched release in the applicable branch. For vendor-packaged deployments, apply the corresponding vendor security update rather than relying solely on the upstream version number. Affected Schneider Electric Plant iT/Brewmaxx installations require Patch ProLeiT-2025-001, enforcement of secure Redis configuration templates, and restart of patched servers and workstations.
1 exploit validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
18 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.