CVE-2025-46817
HIGH8.8EPSS 10.5%Lua library commands may lead to integer overflow and potential RCE
Published: 10/3/2025Modified: 12/3/2025
Also known as:ALPINE-CVE-2025-46817
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 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.
Affected packages (10)
- Alpine/valkeyfrom 0, < 7.2.11-r0
- Bitnami/keydbfrom 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
- Bitnami/redisfrom 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
- Bitnami/valkeyfrom 0, < 7.2.11, >= 8.0.0, < 8.0.6, >= 8.1.0, < 8.1.4
- Debian/redictfrom 0, < 7.3.6+ds-1
- Debian/redisfrom 0, < 5:6.0.16-1+deb11u8
- Debian/redisfrom 0, < 5:6.0.16-1+deb11u8
- Debian/redisfrom 0, < 5:7.0.15-1~deb12u6
- Debian/valkeyfrom 0, < 8.1.1+dfsg1-3+deb13u1
- Debian/valkeyfrom 0, < 8.1.1+dfsg1-3+deb13u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References (6)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2025-46817
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-46817
- WEBhttps://github.com/redis/redis/commit/fc9abc775e308374f667fdf3e723ef4b7eb0e3ca
- WEBhttps://github.com/redis/redis/releases/tag/8.2.2
- WEBhttps://github.com/redis/redis/security/advisories/GHSA-m8fj-85cg-7vhp
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2025-46817