CVE-2022-24736

A Malformed Lua script can crash Redis

MEDIUM
5.5
CVSS Score
Published: April 27, 2022 at 07:55 PM UTC
Updated: June 17, 2026 at 04:32 AM UTC
5 products affected across 4 vendorsFedoraRedisCommunications Operations Monitor

Using redis by redis?

Get instant alerts when new vulnerabilities affect redis - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 1%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.2.7v < 7.0.07.0 rc17.0 rc27.0 rc3
Affected range stops below 6.2.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.0.0, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card