Every CVE Search/ Get API key

CVE-2023-36824

Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis

7.4 HighFix available

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

77.4%Up 77.0 points since Jul 12, 2023
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
8.8 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
7.4 HighCVSS: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

Affected packages
PackageAffectedFixed
redis
Alpine:v3.16
7.0.0 up to 7.0.12-r0
7.0.12-r0
redis
Alpine:v3.17
7.0.0 up to 7.0.12-r0
7.0.12-r0
redis
Alpine:v3.18
7.0.0 up to 7.0.12-r0
7.0.12-r0
redis
Alpine:v3.19
7.0.0 up to 7.0.12-r0
7.0.12-r0
redis
Alpine:v3.20
7.0.0 up to 7.0.12-r0
7.0.12-r0
redis
Alpine:v3.21
7.0.0 up to 7.0.12-r0
7.0.12-r0
redis
Alpine:v3.22
7.0.0 up to 7.0.12-r0
7.0.12-r0
redis
Alpine:v3.23
7.0.0 up to 7.0.12-r0
7.0.12-r0
redis
Alpine:v3.24
7.0.0 up to 7.0.12-r0
7.0.12-r0
redis
Alpaquita:23
7.0.9-r0 up to 7.0.12-r0
7.0.12-r0
Show 10 moreShow less
Affected packages
PackageAffectedFixed
keydb
Bitnami
7.0.0 up to 7.0.12
7.0.12
redis
Bitnami
7.0.0 up to 7.0.12
7.0.12
valkey
Bitnami
7.0.0 up to 7.0.12
7.0.12
redis
Debian: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
redis
Debian:13
before 5:7.0.12-1
5:7.0.12-1
redis
Debian:14
before 5:7.0.12-1
5:7.0.12-1
redis
Debian: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
redis7
SUSE: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
redis7
openSUSE:Leap 15.5
From an advisory covering 6 CVEs
before 7.0.8-150500.3.3.1
7.0.8-150500.3.3.1
redis
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 7.0.12-1.1
7.0.12-1.1

History

History
RecordedChangedSources
affected, facts
affectedOSV
affected
aliases, publishedEUVD
first indexedCVE 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

Show 19 moreShow less
MoveEnter Open