PT-2025-40594 · Redis+10 · Redis+10

Benny Isaacs

+4

·

Published

2025-01-24

·

Updated

2026-06-22

·

CVE-2025-49844

CVSS v3.1

9.9

Critical

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Redis versions prior to 8.2.2 Redis versions prior to 8.0.4 Redis versions prior to 7.4.6 Redis versions prior to 7.2.11 Redis versions prior to 6.2.20
Description A use-after-free memory corruption issue exists in the Lua scripting engine of Redis, known as RediShell. An authenticated user can execute a specially crafted Lua script to manipulate the Lua Garbage Collector (GC), which is a process that automatically reclaims memory by deleting objects no longer in use. This manipulation allows the attacker to escape the Lua sandbox—an isolated environment designed to restrict script execution—and achieve remote code execution on the underlying host system. This could lead to full system compromise, including the theft of SSH keys and cloud tokens, data exfiltration, or the installation of malware. Approximately 330,000 Redis instances are exposed to the internet, with at least 60,000 lacking authentication, making them highly susceptible to this issue.
Recommendations Update to version 8.2.2, 8.0.4, 7.4.6, 7.2.11, or 6.2.20. As a temporary workaround, restrict the use of the EVAL and EVALSHA commands via Access Control Lists (ACLs) to prevent the execution of Lua scripts. Enforce strong authentication using the requirepass directive. Restrict network access to Redis instances using firewalls and VPCs to ensure they are only accessible from trusted hosts. Run Redis using a non-root user account to limit the impact of a potential compromise.

Exploit

Fix

RCE

DoS

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025:19237
ALSA-2025:19238
ALSA-2025:19345
ALSA-2025:19675
ALSA-2025:20926
ALSA-2025:20955
ALSA-2025:21916
ALSA-2025:21936
ALSA-2025_16880
ALSA-2025_19237
ALSA-2025_19238
ALSA-2025_19345
ALSA-2025_20926
ALSA-2025_20955
ALSA-2025_21916
ALT-PU-2025-12931
ALT-PU-2025-12954
ALT-PU-2025-13204
ALT-PU-2025-1851
AZL-68226
AZL-68352
AZL-68363
AZL-68426
BDU:2025-12553
BIT-KEYDB-2025-49844
BIT-REDIS-2025-49844
BIT-VALKEY-2025-49844
CESA-2025_19238
CLEANSTART-2026-AF35851
CLEANSTART-2026-AV02020
CLEANSTART-2026-BX37171
CLEANSTART-2026-CJ12020
CLEANSTART-2026-CU71831
CLEANSTART-2026-DI78859
CLEANSTART-2026-DL37890
CLEANSTART-2026-EL98096
CLEANSTART-2026-GJ95666
CLEANSTART-2026-IR62391
CLEANSTART-2026-JR53141
CLEANSTART-2026-LU31244
CLEANSTART-2026-MZ27698
CLEANSTART-2026-PR27884
CLEANSTART-2026-QK48981
CLEANSTART-2026-QX99194
CLEANSTART-2026-RA63757
CLEANSTART-2026-RF40424
CLEANSTART-2026-SG88217
CLEANSTART-2026-UA95882
CLEANSTART-2026-WI17406
CLEANSTART-2026-XH31600
CLEANSTART-2026-YM75307
CVE-2025-49844
DLA-4325-1
DSA-6020-1
DSA-6022-1
GHSA-4789-QFC9-5F9Q
INFSA-2025_19237
INFSA-2025_19238
INFSA-2025_19345
INFSA-2025_20926
INFSA-2025_20955
INFSA-2025_21916
MGASA-2025-0307
OESA-2025-2389
OESA-2025-2390
OESA-2025-2450
OESA-2025-2451
OESA-2025-2452
OESA-2025-2453
OESA-2026-1063
OPENSUSE-SU-2025:15600-1
OPENSUSE-SU-2025:15604-1
OPENSUSE-SU-2025:20121-1
OPENSUSE-SU-2026:20003-1
RHSA-2025:19237
RHSA-2025:19238
RHSA-2025:19239
RHSA-2025:19318
RHSA-2025:19345
RHSA-2025:19399
RHSA-2025:19675
RHSA-2025:20926
RHSA-2025:20955
RHSA-2025_19237
RHSA-2025_19238
RHSA-2025_19345
RHSA-2025_20926
RHSA-2025_20955
RHSA-2025_21916
SUSE-SU-2025:03499-1
SUSE-SU-2025:03500-1
SUSE-SU-2025:03501-1
SUSE-SU-2025:03502-1
SUSE-SU-2025:03505-1
SUSE-SU-2025:03506-1
SUSE-SU-2025:03507-1
SUSE-SU-2026:20022-1
USN-7824-1
USN-7824-2
USN-7824-3
USN-7893-1
USN-8169-1
USN-8262-1
ZDI-25-933

Affected Products

Alt Linux
Almalinux
Centos
Debian
Linuxmint
Red Hat
Red Os
Redis
Rocky Linux
Suse
Ubuntu