# CVE-2025-46817: Lua library commands may lead to integer overflow and potential RCE

- Severity: High 7.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.89%, higher than 90% of CVEs (2026-12-01)
- Published: 2025-10-03T17:52:48.478Z
- Modified: 2026-10-19T17:10:00.173Z
- Also known as: BIT-KEYDB-2025-46817, BIT-REDIS-2025-46817, BIT-VALKEY-2025-46817, GHSA-m8fj-85cg-7vhp
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- redis redis: < 8.2.2; before 6.2.20; from 7.0 before 7.2.11; from 7.4.0 before 7.4.6; from 8.0.0 before 8.0.4; from 8.2.0 before 8.2.2
- keydb (Bitnami): before 6.2.20; from 7.0.0 before 7.2.11; from 7.3.0 before 7.4.6; from 8.0.0 before 8.0.4; from 8.1.0 before 8.2.2
- redis (Bitnami): before 6.2.20; from 7.0.0 before 7.2.11; from 7.3.0 before 7.4.6; from 8.0.0 before 8.0.4; from 8.1.0 before 8.2.2
- valkey (Bitnami): before 7.2.11; from 8.0.0 before 8.0.6; from 8.1.0 before 8.1.4

## Every score

- GitHub_M: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/redis/redis/security/advisories/GHSA-m8fj-85cg-7vhp> (advisory, vendor-advisory)
- <https://github.com/redis/redis/commit/fc9abc775e308374f667fdf3e723ef4b7eb0e3ca> (fix, patch)
- <https://github.com/redis/redis/releases/tag/8.2.2> (article, release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-46817> (web)

## Sources

- CVE List: [CVE-2025-46817](https://www.cve.org/CVERecord?id=CVE-2025-46817), CVE Terms of Use, modified 2025-10-03
- NVD: [CVE-2025-46817](https://nvd.nist.gov/vuln/detail/CVE-2025-46817), Public domain, modified 2026-10-19
- Bitnami Vulnerability Database: [BIT-KEYDB-2025-46817](https://osv.dev/vulnerability/BIT-KEYDB-2025-46817), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-REDIS-2025-46817](https://osv.dev/vulnerability/BIT-REDIS-2025-46817), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-VALKEY-2025-46817](https://osv.dev/vulnerability/BIT-VALKEY-2025-46817), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-46817 · Whole record: https://cve.day/CVE-2025-46817.json · Rebuilt by cve.day 2026-11-25T22:59:05.486Z
