# CVE-2022-24736: A Malformed Lua script can crash Redis

- Severity: Low 3.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- 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): 1.50%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-27T19:55:10.000Z
- Modified: 2026-09-08T08:48:19.071Z
- Also known as: BIT-KEYDB-2022-24736, BIT-REDIS-2022-24736, BIT-VALKEY-2022-24736, GHSA-3qpw-7686-5984
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Redis is an in-memory database that persists on disk. Prior to versions 6.2.7 and 7.0.0, an attacker attempting to load a specially crafted Lua script can cause NULL pointer dereference which will result with a crash of the redis-server process. The problem is fixed in Redis versions 7.0.0 and 6.2.7. An additional workaround to mitigate this problem without patching the redis-server executable, if Lua scripting is not being used, is to block access to `SCRIPT LOAD` and `EVAL` commands using ACL rules.

(As written by CVE List.)

## Affected

- redis redis: < 6.2.7; < 7.0.0; before 6.2.7; 7.0
- fedoraproject fedora: 34; 35; 36
- netapp management_services_for_element_software: no versions given
- netapp management_services_for_netapp_hci: no versions given
- oracle communications_operations_monitor: 4.3; 4.4; 5.0
- keydb (Bitnami): before 6.2.7
- redis (Bitnami): before 6.2.7
- valkey (Bitnami): before 6.2.7

## Every score

- GitHub_M: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/redis/redis/pull/10651> (exploit, advisory, third-party-advisory, web)
- <https://github.com/redis/redis/releases/tag/6.2.7> (advisory, release-notes, third-party-advisory, web)
- <https://github.com/redis/redis/releases/tag/7.0.0> (advisory, release-notes, third-party-advisory, web)
- <https://github.com/redis/redis/security/advisories/GHSA-3qpw-7686-5984> (advisory, patch, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/> (vendor-advisory, web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (advisory, patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20220715-0003/> (advisory, third-party-advisory, web)
- <https://security.gentoo.org/glsa/202209-17> (advisory, third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24736> (web)

## Sources

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

---

Page: https://cve.day/CVE-2022-24736 · Whole record: https://cve.day/CVE-2022-24736.json · Rebuilt by cve.day 2026-11-25T22:58:11.276Z
