# CVE-2023-36824: Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 77.4%, higher than 99% of CVEs (2026-12-01)
- Published: 2023-07-11T16:16:16.432Z
- Modified: 2026-09-08T08:48:19.023Z
- Also known as: BIT-KEYDB-2023-36824, BIT-REDIS-2023-36824, BIT-VALKEY-2023-36824, GHSA-4cfx-h9gq-xpx3
- Weaknesses: CWE-122, CWE-131, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- redis redis: >= 7.0.0, < 7.0.12; from 7.0.0 before 7.0.12
- fedoraproject fedora: 37; 38
- keydb (Bitnami): from 7.0.0 before 7.0.12
- redis (Bitnami): from 7.0.0 before 7.0.12
- valkey (Bitnami): from 7.0.0 before 7.0.12

## Every score

- GitHub_M: 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`
- NVD: 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`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/redis/redis/security/advisories/GHSA-4cfx-h9gq-xpx3> (advisory, vendor-advisory, web)
- <https://github.com/redis/redis/releases/tag/7.0.12> (article, release-notes, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/> (advisory, mailing-list, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/> (advisory, mailing-list, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20230814-0009/> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-36824> (web)

## Sources

- CVE List: [CVE-2023-36824](https://www.cve.org/CVERecord?id=CVE-2023-36824), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2023-36824](https://nvd.nist.gov/vuln/detail/CVE-2023-36824), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-KEYDB-2023-36824](https://osv.dev/vulnerability/BIT-KEYDB-2023-36824), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-REDIS-2023-36824](https://osv.dev/vulnerability/BIT-REDIS-2023-36824), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-VALKEY-2023-36824](https://osv.dev/vulnerability/BIT-VALKEY-2023-36824), Apache-2.0, modified 2025-10-15

---

Page: https://cve.day/CVE-2023-36824 · Whole record: https://cve.day/CVE-2023-36824.json · Rebuilt by cve.day 2026-11-25T22:58:25.606Z
