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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-07-11 · Modified: 2025-02-13
- Aliases: ALPINE-CVE-2023-36824, UBUNTU-CVE-2023-36824, DEBIAN-CVE-2023-36824
- Record: https://cvemate.com/vulnerability/CVE-2023-36824 · JSON: https://cvemate.com/vulnerability/CVE-2023-36824/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 77.422%, percentile 99.565%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine redis (Alpine Linux): ≥ 7.0.0, \< 7.0.12-r0
- debian redis (Debian): \< 5:7.0.15-1~deb12u1 \| \< 5:7.0.12-1
- ubuntu redis (Ubuntu): \< 5:7.0.12-1
- fedoraproject fedora: 37 \| 38
- redis redis: ≥ 7.0.0, \< 7.0.12

## References

- <https://github.com/redis/redis/security/advisories/GHSA-4cfx-h9gq-xpx3>
- <https://github.com/redis/redis/releases/tag/7.0.12>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/>
- <https://security.netapp.com/advisory/ntap-20230814-0009/>
- <https://security.alpinelinux.org/vuln/CVE-2023-36824>
- <https://ubuntu.com/security/CVE-2023-36824>
- <https://www.cve.org/CVERecord?id=CVE-2023-36824>
- <https://security-tracker.debian.org/tracker/CVE-2023-36824>

---

Data as of 2026-12-05T06:22:29.732Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
