CVE-2023-36824
Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis
Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted COMMAND GETKEYS or COMMAND GETKEYSANDFLAGSand authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.4
Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis
Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted COMMAND GETKEYS or COMMAND GETKEYSANDFLAGSand authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12.
- Record
CVE-2023-36824- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-122, CWE-131
- Updated
- 2026-11-02
EUVDEUVD-2023-40750
7.4
Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted COMMAND GETKEYS or COMMAND GETKEYSANDFLAGSand authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12.
- Record
EUVD-2023-40750- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
NVD
7.4
Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted COMMAND GETKEYS or COMMAND GETKEYSANDFLAGSand authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12.
- Record
CVE-2023-36824- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - 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 - Weakness
- CWE-122, CWE-131, CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2023-36824
8.8
Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted COMMAND GETKEYS or COMMAND GETKEYSANDFLAGSand authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12.
- Record
ALPINE-CVE-2023-36824- 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 - Updated
- 2026-11-03
OSVBELL-CVE-2023-36824
8.8
- Record
BELL-CVE-2023-36824- 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 - Updated
- 2026-11-02
OSV
7.4
Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis
Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted COMMAND GETKEYS or COMMAND GETKEYSANDFLAGSand authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12.
- Record
CVE-2023-36824- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-122, CWE-131
- Updated
- 2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2023-36824
8.8
Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted COMMAND GETKEYS or COMMAND GETKEYSANDFLAGSand authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12.
- Record
DEBIAN-CVE-2023-36824- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-36824
8.8
Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted COMMAND GETKEYS or COMMAND GETKEYSANDFLAGSand authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12.
- Record
UBUNTU-CVE-2023-36824- 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 - CVSS 3.1
- 7.4 High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBIT-keydb-2023-36824 No score
Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis
Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted COMMAND GETKEYS or COMMAND GETKEYSANDFLAGSand authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12.
- Record
BIT-keydb-2023-36824- Updated
- 2026-11-02
OSVBIT-redis-2023-36824 No score
Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis
Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted COMMAND GETKEYS or COMMAND GETKEYSANDFLAGSand authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12.
- Record
BIT-redis-2023-36824- Updated
- 2026-11-02
OSVBIT-valkey-2023-36824 No score
Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis
Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted COMMAND GETKEYS or COMMAND GETKEYSANDFLAGSand authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12.
- Record
BIT-valkey-2023-36824- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13047-1 No score
redis-7.0.12-1.1 on GA media
These are all security issues fixed in the redis-7.0.12-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13047-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:2925-1 No score
Security update for redis7
This update for redis7 fixes the following issues:
- CVE-2022-24834: Fixed heap overflow in the cjson and cmsgpack libraries (bsc#1213193).
- CVE-2023-28856: Fixed HINCRBYFLOAT invalid key crash (bsc#1210548).
- CVE-2022-36021: Fixed integer overflow via Specially crafted SRANDMEMBER, ZRANDMEMBER, and HRANDFIELD (bsc#1208790).
- CVE-2023-25155: Fixed Integer Overflow in RAND commands (bsc#1208793).
- CVE-2023-28425: Fixed denial-of-service via Specially crafted MSETNX command (bsc#1209528).
- CVE-2023-36824: Fixed heap overflow in COMMAND GETKEYS and ACL evaluation (bsc#1213249).
- Record
SUSE-SU-2023:2925-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
redisAlpine:v3.16 |
7.0.0 up to 7.0.12-r0 | 7.0.12-r0 |
redisAlpine:v3.17 |
7.0.0 up to 7.0.12-r0 | 7.0.12-r0 |
redisAlpine:v3.18 |
7.0.0 up to 7.0.12-r0 | 7.0.12-r0 |
redisAlpine:v3.19 |
7.0.0 up to 7.0.12-r0 | 7.0.12-r0 |
redisAlpine:v3.20 |
7.0.0 up to 7.0.12-r0 | 7.0.12-r0 |
redisAlpine:v3.21 |
7.0.0 up to 7.0.12-r0 | 7.0.12-r0 |
redisAlpine:v3.22 |
7.0.0 up to 7.0.12-r0 | 7.0.12-r0 |
redisAlpine:v3.23 |
7.0.0 up to 7.0.12-r0 | 7.0.12-r0 |
redisAlpine:v3.24 |
7.0.0 up to 7.0.12-r0 | 7.0.12-r0 |
redisAlpaquita:23 |
7.0.9-r0 up to 7.0.12-r0 | 7.0.12-r0 |
Show 10 moreShow less
| Package | Affected | Fixed |
|---|---|---|
keydbBitnami |
7.0.0 up to 7.0.12 | 7.0.12 |
redisBitnami |
7.0.0 up to 7.0.12 | 7.0.12 |
valkeyBitnami |
7.0.0 up to 7.0.12 | 7.0.12 |
redisDebian:12 |
before 5:7.0.15-1~deb12u1, plus listed versions 5:7.0.11-15:7.0.11-1+deb12u15:7.0.12-15:7.0.12-25:7.0.13-15:7.0.13-25:7.0.14-15:7.0.14-2 |
5:7.0.15-1~deb12u1 |
redisDebian:13 |
before 5:7.0.12-1 | 5:7.0.12-1 |
redisDebian:14 |
before 5:7.0.12-1 | 5:7.0.12-1 |
redisDebian:12 From an advisory covering 5 CVEs |
before 5:7.0.15-1~deb12u1, plus listed versions 5:7.0.11-15:7.0.11-1+deb12u15:7.0.12-15:7.0.12-25:7.0.13-15:7.0.13-25:7.0.14-15:7.0.14-2 |
5:7.0.15-1~deb12u1 |
redis7SUSE:Linux Enterprise Module for Server Applications 15 SP5 From an advisory covering 6 CVEs |
before 7.0.8-150500.3.3.1 | 7.0.8-150500.3.3.1 |
redis7openSUSE:Leap 15.5 From an advisory covering 6 CVEs |
before 7.0.8-150500.3.3.1 | 7.0.8-150500.3.3.1 |
redisopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 7.0.12-1.1 | 7.0.12-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | OSV | |
| affected | ||
| aliases, published | EUVD | |
| first indexed | CVE List, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-36824 is a high vulnerability (CVSS 7.4) in Redis, published July 11, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 77.4%, the 99th percentile. Fixed in redis 7.0.12-r0.
References
github.com/redis/redis/security/advisories/GHSA-4cfx-h9gq-xpx3
github.com/redis/redis/releases/tag/7.0.12
lists.fedoraproject.org/archives/list/[email protected]/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K
lists.fedoraproject.org/archives/list/[email protected]/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T
security.netapp.com/advisory/ntap-20230814-0009
security.alpinelinux.org/vuln/CVE-2023-36824
Show 19 moreShow less
docs.bell-sw.com/security/cves/CVE-2023-36824
nvd.nist.gov/vuln/detail/CVE-2023-36824
github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36824.json
security-tracker.debian.org/tracker/CVE-2023-36824
suse.com/support/update/announcement/2023/suse-su-20232925-1
bugzilla.suse.com/1208790
bugzilla.suse.com/1208793
bugzilla.suse.com/1209528
bugzilla.suse.com/1210548
bugzilla.suse.com/1213193
bugzilla.suse.com/1213249
suse.com/security/cve/CVE-2022-24834
suse.com/security/cve/CVE-2022-36021
suse.com/security/cve/CVE-2023-25155
suse.com/security/cve/CVE-2023-28425
suse.com/security/cve/CVE-2023-28856
suse.com/security/cve/CVE-2023-36824
ubuntu.com/security/CVE-2023-36824
cve.org/CVERecord?id=CVE-2023-36824