CVE-2025-46819
Redis is vulnerable to DoS via specially crafted LUA scripts
Description
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 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.
How to fix CVE-2025-46819
To remediate CVE-2025-46819, upgrade the affected package to a fixed version below.
- —upgrade to 7.2.11-r0 or later
- —upgrade to 6.2.20 or later
- —upgrade to 6.2.20 or later
- —upgrade to 7.2.11 or later
- —upgrade to 7.3.6+ds-1 or later
- —upgrade to 5:6.0.16-1+deb11u8 or later
- —upgrade to 8.1.1+dfsg1-3+deb13u1 or later
Is CVE-2025-46819 being exploited?
Moderate — EPSS is 8.8%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (7)
- from 0, < 7.2.11-r0
- from 0, < 6.2.20, >= 7.0.0, < 7.2.11, >= 7.3.0, < 7.4.6, >= 8.0.0, < 8.0.4, >= 8.1.0, < 8.2.2
- from 0, < 6.2.20, >= 7.0.0, < 7.2.11, >= 7.3.0, < 7.4.6, >= 8.0.0, < 8.0.4, >= 8.1.0, < 8.2.2
- from 0, < 7.2.11, >= 8.0.0, < 8.0.6, >= 8.1.0, < 8.1.4
- from 0, < 7.3.6+ds-1
- from 0, < 5:6.0.16-1+deb11u8
- from 0, < 8.1.1+dfsg1-3+deb13u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |