Description
Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users. The problem is fixed in versions 7.0.12, 6.2.13, and 6.0.20.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| redis | redis | >= 7.0.0, < 7.0.12, >= 6.2.0, < 6.2.13, >= 6.0.0, < 6.0.20 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | redis | 5:7.0.12-1 | — |
| Debian 13 | redis | 5:7.0.12-1 | — |
| Debian 12 | redis | 5:7.0.15-1~deb12u1 | DSA-5610-1 |
| Debian 11 | redis | 5:6.0.16-1+deb11u3 | DLA-3885-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | lua-cjson +1 | No fix yet | — |
| Ubuntu 26.04 LTS | lua-cjson +1 | No fix yet | — |
| Ubuntu 25.10 | lua-cjson +1 | No fix yet | — |
| Ubuntu 24.04 LTS | lua-cjson | No fix yet | — |
| Ubuntu 18.04 LTS | lua-cjson | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | lua-cjson | No fix yet | — |
| Ubuntu Pro 22.04 LTS | lua-cjson | 2.1.0+dfsg-2.1ubuntu0.22.04.1~esm2 | — |
| Ubuntu Pro 22.04 LTS | redis | 5:6.0.16-1ubuntu1+esm1 | USN-6531-1 |
| Ubuntu Pro 20.04 LTS | lua-cjson | 2.1.0+dfsg-2.1ubuntu0.20.04.1~esm2 | — |
| Ubuntu Pro 20.04 LTS | redis | 5:5.0.7-2ubuntu0.1+esm2 | USN-6531-1 |
| Ubuntu Pro 18.04 LTS | redis | 5:4.0.9-1ubuntu0.2+esm4 | USN-6531-1 |
| Ubuntu Pro 16.04 LTS | redis | 2:3.0.6-1ubuntu0.4+esm2 | USN-6531-1 |
| Ubuntu Pro 14.04 LTS | redis | 2:2.8.4-2ubuntu0.2+esm3 | USN-6531-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | redis +2 | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| RHEL 8 | redis +2 | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | redis +2 | 6.2.17-1.el9_5 | ALSA-2025:0693 |
| AlmaLinux 8 | redis +2 | 6.2.17-1.module_el8.10.0+3946+3de613d5 | ALSA-2025:0595 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | redis | 6.2.17-1.el9_5 | RLSA-2025:0693 |
| Rocky Linux 8 | redis | 6.2.17-1.module+el8.10.0+1923+5b85c6a7 | RLSA-2025:0595 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | redis | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SLES 15 SP5 | redis7 | 7.0.8-150500.3.3.1 | SUSE-SU-2023:2925-1 |
| SLES 15 SP4 | redis | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SLES 15 SP3 | redis | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| SLES 15 SP2 | redis | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | redis | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| SLES for SAP 15 SP2 | redis | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| SLE Real Time 15 SP3 | redis | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| SLE HPC 15 SP3 | redis | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| SLE HPC 15 SP2 | redis | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| SUSE Manager Server 4.2 | redis | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| SUSE Manager Proxy 4.2 | redis | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| SUSE Enterprise Storage 7.1 | redis | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| SUSE Enterprise Storage 7 | redis | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | redis | 7.0.12-1.1 | openSUSE-SU-2024:13047-1 |
| openSUSE Leap 15.5 | redis | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| openSUSE Leap 15.5 | redis7 | 7.0.8-150500.3.3.1 | SUSE-SU-2023:2925-1 |
| openSUSE Leap 15.4 | redis | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | redis | 7.0.12-r0 | — |
| Alpine v3.23 | redis | 7.0.12-r0 | — |
| Alpine v3.22 | redis | 7.0.12-r0 | — |
| Alpine v3.21 | redis | 7.0.12-r0 | — |
| Alpine v3.20 | redis | 7.0.12-r0 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | redis | 7.0.12-r0 | — |
| Alpine v3.18 | redis | 7.0.12-r0 | — |
| Alpine v3.17 | redis | 7.0.12-r0 | — |
| Alpine v3.16 | redis | 7.0.12-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | redis6 +2 | 6.2.13-1.amzn2023.0.1 | ALAS2023-2023-291 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | redis | 6.2.13-2 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | redis +2 | 6.2.17-1.el9_5 | ELSA-2025-0693 |
| Oracle Linux 8 | redis +2 | 6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 | ELSA-2025-0595 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
convisolabs/CVE-2022-24834 ★ 22 · Jul 28, 2023
-
Nullx97/CVE-2022-24834- ★ 0 · Aug 18, 2024
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 20
- ALSA-2025:0693 Important: redis security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:0595 Important: redis:6 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2025:0693 Red Hat Security Advisory: redis security update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- RHSA-2025:0595 Red Hat Security Advisory: redis:6 security update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- USN-6531-1 redis vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- WID-SEC-2023-1698 Redis: Mehrere Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · Apr 13, 2026
- DSA-5610-1 redis - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3885-1 redis - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2025:0595 Important: redis:6 security update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2025:0693 Important: redis security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2023:2924-1 Security update for redis SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2925-1 Security update for redis7 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:3407-1 Security update for redis SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13047-1 redis-7.0.12-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2025-0693 Important: redis security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jan 28, 2025
- ELSA-2025-0595 Important: redis:6 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jan 23, 2025
- ICSA-24-046-11 Siemens SCALANCE XCM-/XRM-300 CISA ICS & IT advisories · Feb 13, 2024
- SSA-806742 SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4 Siemens ProductCERT · Feb 13, 2024
- WID-SEC-2023-2679 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 17, 2023
- ALAS2023-2023-291 Important: redis6 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 9, 2023
References
- https://github.com/redis/redis/security/advisories/GHSA-p8x2-9v9q-c838
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/
- https://security.netapp.com/advisory/ntap-20230814-0006/