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

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-03 · Modified: 2025-10-03
- Aliases: ALPINE-CVE-2025-46817, UBUNTU-CVE-2025-46817, DEBIAN-CVE-2025-46817, CGA-4vhg-hv2q-5m8h, CGA-8298-w935-3f83, CGA-f9h7-3jjw-c4vj, CGA-g64x-hcf7-r7mv, CGA-h8p7-4h4f-97r8, CGA-mg76-x7q3-j3gm, CGA-mvq9-c44x-cfj3, CGA-mxpj-v7v3-8fqg, CGA-p346-jx46-cgg5, CGA-xxg2-rwg6-q283
- Record: https://cvemate.com/vulnerability/CVE-2025-46817 · JSON: https://cvemate.com/vulnerability/CVE-2025-46817/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.892%, percentile 90.563%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine redict (Alpine Linux): \< 7.3.6-r0
- alpine redis (Alpine Linux): ≥ 7.0, \< 8.0.4-r0 \| ≥ 7.0, \< 8.2.2-r0 \| ≥ 7.0, \< 7.2.11-r0 \| ≥ 8.0.0, \< 8.0.4-r0 \| ≥ 8.2.0, \< 8.2.2-r0
- alpine valkey (Alpine Linux): \< 7.2.11-r0 \| \< 8.1.4-r0
- chainguard py3-redis (Chainguard): All versions (No fix recorded)
- chainguard py3.10-redis (Chainguard): All versions (No fix recorded)
- chainguard py3.11-redis (Chainguard): All versions (No fix recorded)
- chainguard py3.12-redis (Chainguard): All versions (No fix recorded)
- chainguard py3.13-redis (Chainguard): All versions (No fix recorded)
- debian redict (Debian): \< 7.3.6+ds-1
- debian redis (Debian): \< 5:7.0.15-1~deb12u6 \| \< 5:8.0.2-3+deb13u1 \| \< 5:8.0.4-1
- debian valkey (Debian): \< 8.1.1+dfsg1-3+deb13u1 \| \< 8.1.4+dfsg1-1
- ubuntu redict (Ubuntu): All versions (No fix recorded)
- ubuntu valkey (Ubuntu): \< 7.2.11+dfsg1-0ubuntu0.2 \| \< 8.1.4+dfsg1-0ubuntu0.2
- redis redis: \< 8.2.2 \| \< 6.2.20 \| ≥ 7.0, \< 7.2.11 \| ≥ 7.4.0, \< 7.4.6 \| ≥ 8.0.0, \< 8.0.4 \| ≥ 8.2.0, \< 8.2.2

## References

- <https://github.com/redis/redis/security/advisories/GHSA-m8fj-85cg-7vhp>
- <https://github.com/redis/redis/commit/fc9abc775e308374f667fdf3e723ef4b7eb0e3ca>
- <https://github.com/redis/redis/releases/tag/8.2.2>
- <https://security.alpinelinux.org/vuln/CVE-2025-46817>
- <https://ubuntu.com/security/CVE-2025-46817>
- <https://www.cve.org/CVERecord?id=CVE-2025-46817>
- <https://github.com/valkey-io/valkey/commit/6dd003e88feace83e55491f32376f6927896e31e>
- <https://ubuntu.com/security/notices/USN-7893-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-46817>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46817.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-46817>

---

Data as of 2026-12-05T05:18:18.944Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
