CVE-2022-24834
published high CVSS 3.1 · 7.0Heap overflow issue with the Lua cjson library used by Redis
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| redis | — | redis>= 7.0.0, < 7.0.12 · >= 6.2.0, < 6.2.13 · >= 6.0.0, < 6.0.20 | Affected | Not stated | GitHub_M |
| redis | — | redis7.0.0 to < 7.0.12 · 6.2.0 to < 6.2.13 · 6.0.0 to < 6.0.20 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluationALAS2REDIS6-2023-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-291 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | redis | Advisory build | 6.2.17-1.module_el8.10.0+3946+3de613d5 | ALSA-2025:0595 |
| Alpine Linux | edge | redis | Fixed | 7.0.12-r0 | Package fix record |
| Debian | bookworm | redis | Advisory build | 5:7.0.15-1~deb12u1 | DSA-5610-1 |
| Oracle Linux | 8 | redisaarch64 · redis · 6b | Advisory build | 0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 | ELSA-2025-0595 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | redisaarch64 | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| SUSE / openSUSE | SLE-15-SP2 | redisaarch64 | Advisory build | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| Ubuntu | bionic | redis | Advisory build | 5:4.0.9-1ubuntu0.2+esm4 | USN-6531-1 |
| AlmaLinux | 9 | redis | Advisory build | 6.2.17-1.el9_5 | ALSA-2025:0693 |
| Alpine Linux | v3.16 | redis | Fixed | 7.0.12-r0 | Package fix record |
| Alpine Linux | v3.17 | redis | Fixed | 7.0.12-r0 | Package fix record |
| Alpine Linux | v3.18 | redis | Fixed | 7.0.12-r0 | Package fix record |
| Alpine Linux | v3.19 | redis | Fixed | 7.0.12-r0 | Package fix record |
| Alpine Linux | v3.20 | redis | Fixed | 7.0.12-r0 | Package fix record |
| Alpine Linux | v3.21 | redis | Fixed | 7.0.12-r0 | Package fix record |
| Alpine Linux | v3.22 | redis | Fixed | 7.0.12-r0 | Package fix record |
| Alpine Linux | v3.23 | redis | Fixed | 7.0.12-r0 | Package fix record |
| Alpine Linux | v3.24 | redis | Fixed | 7.0.12-r0 | Package fix record |
| Debian | bullseye | redis | Advisory build | 5:6.0.16-1+deb11u3 | DLA-3885-1 |
| Oracle Linux | 8 | redisx86_64 · redis · 6b | Advisory build | 0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 | ELSA-2025-0595 |
| Oracle Linux | 9 | redisaarch64 | Advisory build | 0:6.2.17-1.el9_5 | ELSA-2025-0693 |
| Oracle Linux | 9 | redisx86_64 | Advisory build | 0:6.2.17-1.el9_5 | ELSA-2025-0693 |
| Red Hat Enterprise Linux | RHEL-8 | redisppc64le | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-8 | rediss390x | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-8 | redissrc | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-8 | redisx86_64 | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-9 | redisaarch64 | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | redisppc64le | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | rediss390x | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | redissrc | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | redisx86_64 | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| SUSE / openSUSE | SLE-15-SP2 | redisppc64le | Advisory build | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| SUSE / openSUSE | SLE-15-SP2 | rediss390x | Advisory build | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| SUSE / openSUSE | SLE-15-SP2 | redisx86_64 | Advisory build | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| SUSE / openSUSE | SLE-15-SP3 | redisaarch64 | Advisory build | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| SUSE / openSUSE | SLE-15-SP3 | redisppc64le | Advisory build | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| SUSE / openSUSE | SLE-15-SP3 | rediss390x | Advisory build | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| SUSE / openSUSE | SLE-15-SP3 | redisx86_64 | Advisory build | 6.0.14-150200.6.26.1 | SUSE-SU-2023:3407-1 |
| SUSE / openSUSE | SLE-15-SP4 | redisaarch64 | Advisory build | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SUSE / openSUSE | SLE-15-SP4 | redisppc64le | Advisory build | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SUSE / openSUSE | SLE-15-SP4 | rediss390x | Advisory build | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SUSE / openSUSE | SLE-15-SP4 | redisx86_64 | Advisory build | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SUSE / openSUSE | SLE-15-SP5 | redisaarch64 | Advisory build | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SUSE / openSUSE | SLE-15-SP5 | redisppc64le | Advisory build | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SUSE / openSUSE | SLE-15-SP5 | rediss390x | Advisory build | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SUSE / openSUSE | SLE-15-SP5 | redisx86_64 | Advisory build | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | redisaarch64 | Advisory build | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | redisppc64le | Advisory build | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | rediss390x | Advisory build | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | redisx86_64 | Advisory build | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | redisaarch64 | Advisory build | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | redisppc64le | Advisory build | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | rediss390x | Advisory build | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | redisx86_64 | Advisory build | 6.2.6-150400.3.22.1 | SUSE-SU-2023:2924-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisaarch64 | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2024:13047-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisppc64le | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2024:13047-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rediss390x | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2024:13047-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisx86_64 | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2024:13047-1 |
| Ubuntu | esm | redis | Advisory build | 2:2.8.4-2ubuntu0.2+esm3 | USN-6531-1 |
| Ubuntu | focal | redis | Advisory build | 5:5.0.7-2ubuntu0.1+esm2 | USN-6531-1 |
| Ubuntu | jammy | redis | Advisory build | 5:6.0.16-1ubuntu1+esm1 | USN-6531-1 |
| Ubuntu | xenial | redis | Advisory build | 2:3.0.6-1ubuntu0.4+esm2 | USN-6531-1 |
| AlmaLinux | 8 | redis-devel | Advisory build | 6.2.17-1.module_el8.10.0+3946+3de613d5 | ALSA-2025:0595 |
| AlmaLinux | 8 | redis-doc | Advisory build | 6.2.17-1.module_el8.10.0+3946+3de613d5 | ALSA-2025:0595 |
| AlmaLinux | 9 | redis-devel | Advisory build | 6.2.17-1.el9_5 | ALSA-2025:0693 |
| AlmaLinux | 9 | redis-doc | Advisory build | 6.2.17-1.el9_5 | ALSA-2025:0693 |
| Oracle Linux | 8 | redis-develaarch64 · redis · 6b | Advisory build | 0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 | ELSA-2025-0595 |
| Oracle Linux | 8 | redis-develx86_64 · redis · 6b | Advisory build | 0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 | ELSA-2025-0595 |
| Oracle Linux | 8 | redis-docaarch64 · redis · 6b | Advisory build | 0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 | ELSA-2025-0595 |
| Oracle Linux | 8 | redis-docx86_64 · redis · 6b | Advisory build | 0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 | ELSA-2025-0595 |
| Oracle Linux | 9 | redis-develaarch64 | Advisory build | 0:6.2.17-1.el9_5 | ELSA-2025-0693 |
| Oracle Linux | 9 | redis-develx86_64 | Advisory build | 0:6.2.17-1.el9_5 | ELSA-2025-0693 |
| Oracle Linux | 9 | redis-docaarch64 | Advisory build | 0:6.2.17-1.el9_5 | ELSA-2025-0693 |
| Oracle Linux | 9 | redis-docx86_64 | Advisory build | 0:6.2.17-1.el9_5 | ELSA-2025-0693 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfoaarch64 | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfoppc64le | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfos390x | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfox86_64 | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debugsourceaarch64 | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debugsourceppc64le | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debugsources390x | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debugsourcex86_64 | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-8 | redis-develaarch64 | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-8 | redis-develppc64le | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-8 | redis-devels390x | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-8 | redis-develx86_64 | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-8 | redis-docnoarch | Advisory build | 6.2.17-1.module+el8.10.0+22680+748527fd | RHSA-2025:0595 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debuginfoaarch64 | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debuginfoi686 | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debuginfoppc64le | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debuginfos390x | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debuginfox86_64 | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debugsourceaarch64 | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debugsourcei686 | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debugsourceppc64le | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debugsources390x | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debugsourcex86_64 | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | redis-develaarch64 | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | redis-develi686 | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | redis-develppc64le | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
| Red Hat Enterprise Linux | RHEL-9 | redis-devels390x | Advisory build | 6.2.17-1.el9_5 | RHSA-2025:0693 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| redis | redis | >= 7.0.0, < 7.0.12 (affected)>= 6.2.0, < 6.2.13 (affected)>= 6.0.0, < 6.0.20 (affected) | GitHub_M · cna |
| redis | redis | 7.0.0 to < 7.0.12 (affected · custom)6.2.0 to < 6.2.13 (affected · custom)6.0.0 to < 6.0.20 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-122 CWE-122: Heap-based Buffer Overflow
- CWE-680 CWE-680: Integer Overflow to Buffer Overflow
References
4- https://github.com/redis/redis/security/advisories/GHSA-p8x2-9v9q-c838
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/
- https://security.netapp.com/advisory/ntap-20230814-0006/
Provider assertions
3GitHub_M · cna
Heap overflow issue with the Lua cjson library used by Redis
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ca6dac3768f00168fd8795e26891a847a71d6737e947ea5d943156f0fa2b641f
- Ingested
- 23 Sep 2026, 07:58:57 UTC
- Source record
- Official CVE record