← Vulnerability feed

Vulnerability record · CVE-2023-36824 · published 11 July 2023

CVE-2023-36824: Redis heap overflow in COMMAND GETKEYS key extraction

Redis · Redis

Redis 7.0 before 7.0.12 can trigger a heap overflow when extracting key names from a command and its arguments. The flaw affects authenticated users running crafted COMMAND GETKEYS or COMMAND GETKEYSANDFLAGS calls, and ACL users whose rules match key names running crafted commands with variadic key lists. It matters because it can leak heap memory, corrupt the heap, and potentially allow remote code execution.

8.8 CVSS 3.1 High EPSS 77% · top 0.5% CWE-122 · Heap-based buffer overflowCWE-131 · CWE-131
8.8CVSS 3.1 base score
77%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
10References
17 Jun 2026Last modified by NVD

Description

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 GETKEYSANDFLAGS`and 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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityCVSS 8.8 with network reachability and high EPSS, but exploitation requires authentication and no KEV or public exploit is documented.

What it is

Redis 7.0 before 7.0.12 can trigger a heap overflow when extracting key names from a command and its arguments. The flaw affects authenticated users running crafted COMMAND GETKEYS or COMMAND GETKEYSANDFLAGS calls, and ACL users whose rules match key names running crafted commands with variadic key lists. It matters because it can leak heap memory, corrupt the heap, and potentially allow remote code execution.

Impact

An authenticated attacker can read random heap memory, corrupt heap state, and potentially achieve remote code execution in the Redis process.

Attack surface

Reached over the network through the Redis protocol by an authenticated user; no user interaction is required. The CVSS vector shows network access, low privileges, and no UI, so any account able to issue the relevant commands or matching ACL rules is a path.

Exploitation

Not listed in CISA KEV and no ransomware use is documented. EPSS is very high at 0.77422 (99.5th percentile), and references are release notes, vendor advisory, and third-party advisories only, with no public exploit tag.

What to do

  • Upgrade Redis to 7.0.12 or later, which contains the patch.
  • If immediate upgrade is not possible, restrict COMMAND GETKEYS and COMMAND GETKEYSANDFLAGS via ACLs and limit which users can run them.
  • Review ACL rules that match key names and tighten them so untrusted users cannot trigger variadic key-name parsing paths.
  • Apply the Fedora package updates referenced in the advisory for affected Fedora builds.
  • Limit network exposure of Redis to trusted hosts and require strong authentication.

Detection

  • Monitor Redis logs and command streams for COMMAND GETKEYS or COMMAND GETKEYSANDFLAGS issued by non-administrative users.
  • Alert on Redis process crashes, restarts, or memory errors that could indicate heap corruption.
  • Audit ACL configurations for rules that match key names and correlate with unusual command activity.
  • Watch for unexpected outbound connections or child processes from the Redis host that could indicate post-exploitation.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-36824 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2022-0543Debian-packaged Redis Lua sandbox escape allows remote code executionA Debian-specific packaging flaw in Redis leaves the Lua interpreter's sandbox improperly restricted, allowing escape from the Lua sandbox. Because R…KEVEPSS 99%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed9.8CVE-2021-44026Roundcube Webmail SQL injection via search parametersRoundcube Webmail before 1.3.17 and 1.4.x before 1.4.12 is prone to SQL injection through the search or search_params input. The flaw is remotely rea…KEVEPSS 70%analysed9.8CVE-2021-42013Apache HTTP Server path traversal and RCE via incomplete fixThe fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient, leaving a path traversal flaw that lets attackers map URLs to files outside…KEVEPSS 100%analysed9.8CVE-2021-41773Apache HTTP Server 2.4.49 path traversal and RCEA path normalization flaw introduced in Apache HTTP Server 2.4.49 lets attackers map URLs to files outside directories configured by Alias-like direc…KEVEPSS 100%analysed9.8CVE-2021-1870Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions, affecting macOS Big Sur, Catalina, Mojave, iOS and iPadOS, plus WebKitGTK a…KEVEPSS 7.7%analysed9.8CVE-2021-1871Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions. It affects macOS Big Sur, Catalina, Mojave, iOS and iPadOS, and a remote at…KEVEPSS 7.0%analysed

Source: NIST National Vulnerability Database (record CVE-2023-36824), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.