Redis Lua Use-After-Free may lead to remote code execution
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| redis | redis | affected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Redis | Redis | — |
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4325-1 | redis security update |
Debian DSA |
DSA-6020-1 | redis security update |
Debian DSA |
DSA-6022-1 | valkey security update |
EUVD |
EUVD-2025-32326 | 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 manipulate the garbage collector, trigger a use-after-free 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. 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 restrict EVAL and EVALSHA commands. |
Ubuntu USN |
USN-7824-1 | Redis vulnerability |
Ubuntu USN |
USN-7824-2 | Redict vulnerability |
Ubuntu USN |
USN-7824-3 | Redis vulnerability |
Ubuntu USN |
USN-7893-1 | Valkey vulnerabilities |
Ubuntu USN |
USN-8262-1 | Lua vulnerability |
Ubuntu USN |
USN-8169-1 | Redis, Lua vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 83.2% (83.161% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
ssvc
|
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Lfprojects
Lfprojects valkey |
|
| CPEs | cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Lfprojects
Lfprojects valkey |
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redis
Redis redis |
|
| Vendors & Products |
Redis
Redis redis |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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 manipulate the garbage collector, trigger a use-after-free 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. 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 restrict EVAL and EVALSHA commands. | |
| Title | Redis Lua Use-After-Free may lead to remote code execution | |
| Weaknesses | CWE-416 | |
| References |
| |
| Metrics |
cvssV3_1
|