Lua library commands may lead to integer overflow and potential RCE
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.
- BDU:2025-12820
- ALSA-2025:19237
- ALSA-2025:19238
- ALSA-2025:19345
- ALSA-2025:19675
- ALSA-2025:20926
- ALSA-2025:20955
- ALSA-2025:21916
- ALSA-2025:21936
- DLA-4325-1
- DSA-6020-1
- DSA-6022-1
- openSUSE-SU-2025:15600-1
- openSUSE-SU-2025:15604-1
- openSUSE-SU-2025:20121-1
- openSUSE-SU-2026:20003-1
- RHSA-2025:18931
- RHSA-2025:18996
- RHSA-2025:18997
- RHSA-2025:19086
- Published
- Oct 3, 2025
- Updated
- Jun 17, 2026
- EPSS
- 3.8% · 90th percentile
- CWE
- CWE-190
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
36
Monitor
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.8%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 8.8
- CNA · GitHub_M
- 7.0
- 1.8 point gap
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| redis | redis | cpe:2.3:a:redis:redis |
Using redis? Add it to your stack and be the first to know about CVEs like this one. (Redis)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- redis redisbefore 6.2.20
- redis redis7.0 and later · before 7.2.11
- redis redis7.4.0 and later · before 7.4.6
- redis redis8.0.0 and later · before 8.0.4
- redis redis8.2.0 and later · before 8.2.2
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
redis redis
- < 8.2.2affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | valkey | before 8.0.6-1.el10_0 | 8.0.6-1.el10_0 |
| AlmaLinux:10 | valkey | before 8.0.6-2.el10_1 | 8.0.6-2.el10_1 |
| AlmaLinux:10 | valkey-devel | before 8.0.6-2.el10_1 | 8.0.6-2.el10_1 |
| AlmaLinux:10 | valkey-devel | before 8.0.6-1.el10_0 | 8.0.6-1.el10_0 |
| AlmaLinux:8 | redis | before 6.2.20-1.module_el8.10.0+4056+739731b0 | 6.2.20-1.module_el8.10.0+4056+739731b0 |
| AlmaLinux:8 | redis-devel | before 6.2.20-1.module_el8.10.0+4056+739731b0 | 6.2.20-1.module_el8.10.0+4056+739731b0 |
| AlmaLinux:8 | redis-doc | before 6.2.20-1.module_el8.10.0+4056+739731b0 | 6.2.20-1.module_el8.10.0+4056+739731b0 |
| AlmaLinux:9 | redis | before 6.2.20-1.el9_6 | 6.2.20-1.el9_6 |
| AlmaLinux:9 | redis | before 7.2.11-1.module_el9.6.0+188+92104ce8 | 7.2.11-1.module_el9.6.0+188+92104ce8 |
| AlmaLinux:9 | redis | before 6.2.20-2.el9_7 | 6.2.20-2.el9_7 |
| AlmaLinux:9 | redis-devel | before 6.2.20-2.el9_7 | 6.2.20-2.el9_7 |
| AlmaLinux:9 | redis-devel | before 6.2.20-1.el9_6 | 6.2.20-1.el9_6 |
| AlmaLinux:9 | redis-devel | before 7.2.11-1.module_el9.6.0+188+92104ce8 | 7.2.11-1.module_el9.6.0+188+92104ce8 |
| AlmaLinux:9 | redis-doc | before 6.2.20-1.el9_6 | 6.2.20-1.el9_6 |
| AlmaLinux:9 | redis-doc | before 6.2.20-2.el9_7 | 6.2.20-2.el9_7 |
| AlmaLinux:9 | redis-doc | before 7.2.11-1.module_el9.6.0+188+92104ce8 | 7.2.11-1.module_el9.6.0+188+92104ce8 |
| AlmaLinux:9 | valkey | before 8.0.6-2.el9_7 | 8.0.6-2.el9_7 |
| AlmaLinux:9 | valkey-devel | before 8.0.6-2.el9_7 | 8.0.6-2.el9_7 |
| Alpine:v3.20 | valkey | before 7.2.11-r0 | 7.2.11-r0 |
| Alpine:v3.22 | valkey | before 8.1.4-r0 | 8.1.4-r0 |
| Debian:11 | redis | before 5:6.0.16-1+deb11u8 | 5:6.0.16-1+deb11u8 |
| Debian:12 | redis | before 5:7.0.15-1~deb12u6 | 5:7.0.15-1~deb12u6 |
| Debian:13 | redis | before 5:8.0.2-3+deb13u1 | 5:8.0.2-3+deb13u1 |
| Debian:13 | valkey | before 8.1.1+dfsg1-3+deb13u1 | 8.1.1+dfsg1-3+deb13u1 |
+96
Same product
redis: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-0543It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific) Lua sandbox escapeKEV100Now
- CVE-2025-49844Redis Lua Use-After-Free may lead to remote code execution64This week
- CVE-2023-36824Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis58Plan
- CVE-2022-24834Heap overflow issue with the Lua cjson library used by Redis47Plan
- CVE-2023-22458Integer overflow in multiple Redis commands can lead to denial-of-service44Plan
- CVE-2024-46981Redis' Lua library commands may lead to remote code execution41Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| redis redis | 8.2.2 · description | Vendor (CNA) |
| AlmaLinux:redis | 6.2.20-1.el9_6 · AlmaLinux:9 | Package registry (OSV) |
| AlmaLinux:redis-devel | 6.2.20-1.el9_6 · AlmaLinux:9 | Package registry (OSV) |
| AlmaLinux:redis-doc | 6.2.20-1.el9_6 · AlmaLinux:9 | Package registry (OSV) |
| AlmaLinux:valkey | 8.0.6-1.el10_0 · AlmaLinux:10 | Package registry (OSV) |
| AlmaLinux:valkey-devel | 8.0.6-1.el10_0 · AlmaLinux:10 | Package registry (OSV) |
| Alpine:valkey | 7.2.11-r0 · Alpine:v3.20 | Package registry (OSV) |
| Debian:redict | 7.3.6+ds-1 · Debian:14 | Package registry (OSV) |
| Debian:redis | 5:7.0.15-1~deb12u6 · Debian:12 | Package registry (OSV) |
| Debian:valkey | 8.1.1+dfsg1-3+deb13u1 · Debian:13 | Package registry (OSV) |
| openSUSE:redis | 7.2.4-150600.3.18.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| openSUSE:redis7 | 7.0.8-150600.8.19.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| openSUSE:valkey | 8.0.6-150600.13.17.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| Red Hat:redis | 0:7.0.12-2.module+el9.4.0+23556+1eb46139.6 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| Red Hat:redis-debuginfo | 0:7.0.12-2.module+el9.4.0+23556+1eb46139.6 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| Red Hat:redis-debugsource | 0:7.0.12-2.module+el9.4.0+23556+1eb46139.6 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| Red Hat:redis-devel | 0:7.0.12-2.module+el9.4.0+23556+1eb46139.6 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| Red Hat:redis-doc | 0:7.0.12-2.module+el9.4.0+23556+1eb46139.6 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| Red Hat:valkey | 0:8.0.6-1.el10_0 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
| Red Hat:valkey-debuginfo | 0:8.0.6-1.el10_0 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
| Red Hat:valkey-debugsource | 0:8.0.6-1.el10_0 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
| Red Hat:valkey-devel | 0:8.0.6-1.el10_0 · Red Hat:enterprise_linux:10.0 | Package registry (OSV) |
| Rocky Linux:redis | 0:6.2.20-1.el9_6 · Rocky Linux:9 | Package registry (OSV) |
| Rocky Linux:valkey | 0:8.0.6-1.el10_0 · Rocky Linux:10 | Package registry (OSV) |
| SUSE:redis | 7.2.4-150600.3.18.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP6 | Package registry (OSV) |
| SUSE:redis7 | 7.0.8-150600.8.19.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP6 | Package registry (OSV) |
| SUSE:valkey | 8.0.6-150600.13.17.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP6 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Nuclei detection template ×1
- Proof-of-concept repository on GitHub ×2
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Nuclei detection template | Nuclei template CVE-2025-46817 | — |
| Proof-of-concept repository on GitHub | stars:3 | 2025-10-07 |
| Proof-of-concept repository on GitHub | stars:2 | 2025-10-27 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+3 d
- TodaySep 29, 2026+361 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2025-468190 days apartRedis is vulnerable to DoS via specially crafted LUA scripts28Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-190 · Integer Overflow or WraparoundCVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- github.com/redis/redis/commit/fc9abc775e308374f667fdf3e723ef4b7eb0e3ca
- github.com/redis/redis/releases/tag/8.2.2
- github.com/redis/redis/security/advisories/GHSA-m8fj-85cg-7vhp
Vendor advisories and official records. Exploit/PoC links are deliberately left out.