CVE-2025-46819
Redis is vulnerable to DoS via specially crafted LUA scripts
Reported by github_m · Published October 3, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| redis | Alpine | 8.2.2-r0, 8.0.4-r0, 7.2.11-r0 |
| redis6-devel | Amazon Linux | 6.2.20-2.amzn2023.0.1 |
| valkey | Alpine | 8.1.4-r0, 7.2.11-r0 |
| valkey | Bitnami | 8.1.4, 8.0.6, 7.2.11 |
| redis6-doc | Amazon Linux | 6.2.20-2.amzn2023.0.1 |
| valkey-devel | Amazon Linux | 8.0.6-3.amzn2023.0.2 |
| keydb | Bitnami | 8.2.2, 8.0.4, 7.4.6, 7.2.11, 6.2.20 |
| valkey | Bitnami | 8.1.4, 8.0.6, 7.2.11 |
| redis | redis | 8.2.2, 8.0.4, 7.4.6, 7.2.11, 6.2.20 |
| keydb | Bitnami | 8.2.2, 8.0.4, 7.4.6, 7.2.11, 6.2.20 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| redis | redis | < 8.2.2 |
| alpine | redis | 0, 0, 0 |
| chainguard | py3-redis | * |
| amazon:2023 | redis6-devel | 0 |
| alpine | valkey | 0, 0 |
| amazon:2023 | redis6-doc | 0 |
| amazon:2023 | valkey-devel | 0 |
| amazon:2023 | redis6 | 0 |
| redis | redis | 0 |
| amazon:2023 | valkey | 0 |
| alpine | redict | 0 |
Timeline
- Oct 3, 2025 CVE Published
- Oct 4, 2025 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (105 in total, the first dated here)
- May 19, 2026 CVE Updated
- Jun 7, 2026 Coalition ESS Score
- Aug 10, 2026 Distribution Patch (22 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-46819
vulnetix vdb fixes CVE-2025-46819
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-46819/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/redis/redis/security/advisories/GHSA-4c68-q8q8-3g4f x_refsource_CONFIRM
- https://github.com/redis/redis/commit/3a1624da2449ac3dbfc4bdaed43adf77a0b7bfba x_refsource_MISC
- https://github.com/redis/redis/releases/tag/8.2.2 x_refsource_MISC
- https://www.vicarius.io/vsociety/posts/cve-2025-46819-detect-redis-vulnerability url
- https://www.vicarius.io/vsociety/posts/cve-2025-46819-mitigate-redis-vulnerability url