CVE-2025-46817
Lua library commands may lead to integer overflow and potential RCE
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 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| valkey | Amazon Linux | 8.0.6-3.amzn2023.0.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| redis | redis | < 8.2.2 |
| amazon:2023 | valkey | 0 |
| redis | redis | 0 |
| amazon:2023 | redis6-devel | 0 |
| alpine | valkey | 0, 0 |
| alpine | redict | 0 |
| amazon:2023 | valkey-devel | 0 |
| amazon:2023 | redis6 | 0 |
| chainguard | py3-redis | * |
| alpine | redis | 0, 0, 0 |
| amazon:2023 | redis6-doc | 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-46817
vulnetix vdb fixes CVE-2025-46817
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-46817/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-m8fj-85cg-7vhp x_refsource_CONFIRM
- https://github.com/redis/redis/commit/fc9abc775e308374f667fdf3e723ef4b7eb0e3ca x_refsource_MISC
- https://github.com/redis/redis/releases/tag/8.2.2 x_refsource_MISC