CVE-2022-24736 | A Malformed Lua script can crash Redis

Exp

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.

Published: 2022-04-27 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-24736 is rated Exploit Available (52.6/100): CVSS Low severity, with medium exploitation likelihood (EPSS 1.48%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2022-24736

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2022-24736

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 1.73% 1.48% -0.25%
2 2026-05-01 0.94% 1.73% +0.79%
3 2026-04-04 0.94%

Full EPSS history (29 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-24736

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
3.3 3.1 LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
1.8 1.4 [email protected]
5.5 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 3.6 [email protected]
2.1 2.0 LOW
AV:L/AC:L/Au:N/C:N/I:N/A:P Click to expand
Access vector (AV:L)
Requires local access to the target system.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
3.9 2.9 [email protected]

Weakness enumeration for CVE-2022-24736

OS Trackers for CVE-2022-24736

vendor priority summary link
alpine medium CVE-2022-24736: 1 source package rows (redis); 37 state rows across 9 repos (3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-community, 3.21-community, 3.22-community, edge-community, edge-main); fixed 8, open 29. https://security.alpinelinux.org/vuln/CVE-2022-24736
debian not yet assigned CVE-2022-24736 not yet assigned priority: Debian including 1 source packages (redis), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. https://security-tracker.debian.org/tracker/CVE-2022-24736
gentoo high CVE-2022-24736: 1 GLSA(s) (202209-17), 1 atom(s) (dev-db/redis); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-24736
redhat low https://access.redhat.com/security/cve/CVE-2022-24736
suse low CVE-2022-24736 severity low: SUSE including 9 source package names (redis-6.0.14-150200.6.11.1, redis-6.2.6-150400.3.3.7, …), 13 product×package rows across 9 product lines (SUSE Liberty Linux 8, SUSE Liberty Linux 9, … (9 product lines)): Fixed 13. https://www.suse.com/security/cve/CVE-2022-24736/
ubuntu medium CVE-2022-24736 medium priority: Ubuntu including 1 source packages (redis), 14 status rows across 14 suites (bionic, focal, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): needed 5, not-affected 5, ignored 3, released 1. https://ubuntu.com/security/CVE-2022-24736

Affected software / configurations for CVE-2022-24736

Vendor Product Version Raw CPE
redis redis < 6.2.7 cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
redis redis 7.0 cpe:2.3:a:redis:redis:7.0:rc1:*:*:*:*:*:*
redis redis 7.0 cpe:2.3:a:redis:redis:7.0:rc2:*:*:*:*:*:*
redis redis 7.0 cpe:2.3:a:redis:redis:7.0:rc3:*:*:*:*:*:*
fedoraproject fedora 34 cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
fedoraproject fedora 35 cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
fedoraproject fedora 36 cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
netapp management_services_for_element_software cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:*
netapp management_services_for_netapp_hci cpe:2.3:a:netapp:management_services_for_netapp_hci:-:*:*:*:*:*:*:*
oracle communications_operations_monitor 4.3 cpe:2.3:a:oracle:communications_operations_monitor:4.3:*:*:*:*:*:*:*
oracle communications_operations_monitor 4.4 cpe:2.3:a:oracle:communications_operations_monitor:4.4:*:*:*:*:*:*:*
oracle communications_operations_monitor 5.0 cpe:2.3:a:oracle:communications_operations_monitor:5.0:*:*:*:*:*:*:*

References for CVE-2022-24736

URL Tags
https://github.com/redis/redis/pull/10651 Exploit Third Party Advisory
https://github.com/redis/redis/releases/tag/6.2.7 Release Notes Third Party Advisory
https://github.com/redis/redis/releases/tag/7.0.0 Release Notes Third Party Advisory
https://github.com/redis/redis/security/advisories/GHSA-3qpw-7686-5984 Patch Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/
https://security.gentoo.org/glsa/202209-17 Third Party Advisory
https://security.netapp.com/advisory/ntap-20220715-0003/ Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.html Patch Third Party Advisory
cvelogic Threat Intelligence