cve.bz

CVE-2025-49844 Use After Free

9.9 criticalEPSS 83%Fix available

Critical (9.9). EPSS 83% estimated probability of exploitation activity in the next 30 days.

On this page
Redis is an open source, in-memory database that persists on disk. Versions 8.2.1 and below allow an authenticated user to use a specially crafted Lua script to manipulate the garbage collector, trigger a use-after-free and potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This issue is fixed in version 8.2.2. To workaround this issue without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.

Severity

CVSS 3.1

9.9 critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
83% (unchanged from 83% a week ago; 82% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-03-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-49844 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-49844?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-49844?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-49844 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redis:redisbefore 6.2.20
redis:redisfrom 7.0 before 7.2.11
redis:redisfrom 7.4.0 before 7.4.6
redis:redisfrom 8.0.0 before 8.0.4
redis:redisfrom 8.2.0 before 8.2.2
lfprojects:valkeybefore 7.2.11
lfprojects:valkeyfrom 8.0.0 before 8.0.6
lfprojects:valkeyfrom 8.1.0 before 8.1.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11redis5:6.0.16-1+deb11u8DLA-4325-1
Debian12redis5:7.0.15-1~deb12u6DEBIAN-CVE-2025-49844 DSA-6020-1
Debian13redis5:8.0.2-3+deb13u1DEBIAN-CVE-2025-49844 DSA-6020-1
Debian13valkey8.1.1+dfsg1-3+deb13u1DEBIAN-CVE-2025-49844 DSA-6022-1
Debian14redict7.3.6+ds-1DEBIAN-CVE-2025-49844
Debian14redis5:8.0.4-1DEBIAN-CVE-2025-49844
Debian14valkey8.1.4+dfsg1-1DEBIAN-CVE-2025-49844
Ubuntu14.04:LTS, 24.04:LTS, 25.10 and 2 morelua5.1no fix listedUBUNTU-CVE-2025-49844
Ubuntu16.04:LTS, 20.04:LTSlua50no fix listedUBUNTU-CVE-2025-49844
Ubuntu18.04:LTSlua50, lua5.1no fix listedUBUNTU-CVE-2025-49844
Ubuntu22.04:LTSredis5:6.0.16-1ubuntu1.1USN-7824-3
Ubuntu24.04:LTSredis5:7.0.15-1ubuntu0.24.04.2UBUNTU-CVE-2025-49844 USN-7824-1
Ubuntu24.04:LTSvalkey7.2.11+dfsg1-0ubuntu0.2UBUNTU-CVE-2025-49844 USN-7893-1
Ubuntu25.10redict7.3.5+ds-1ubuntu0.1UBUNTU-CVE-2025-49844 USN-7824-2
Ubuntu25.10redis5:8.0.2-3ubuntu0.25.10.1UBUNTU-CVE-2025-49844 USN-7824-1
Ubuntu25.10valkey8.1.4+dfsg1-0ubuntu0.2UBUNTU-CVE-2025-49844 USN-7893-1
UbuntuPro:14.04:LTSredis2:2.8.4-2ubuntu0.2+esm5UBUNTU-CVE-2025-49844 USN-7824-1
UbuntuPro:16.04:LTSredis2:3.0.6-1ubuntu0.4+esm4UBUNTU-CVE-2025-49844 USN-7824-1
UbuntuPro:18.04:LTSredis5:4.0.9-1ubuntu0.2+esm6UBUNTU-CVE-2025-49844 USN-7824-1
3 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::appstreamredis, redis-doc, redis-devel and 2 more0:6.2.20-1.module+el8.10.0+23551+d4cd15d7RHSA-2025:19238
Red Hatenterprise_linux:9::appstreamredis, redis-doc, redis-devel and 2 more0:6.2.20-1.el9_6RHSA-2025:19237
Red Hatenterprise_linux:9::appstreamredis, redis-doc, redis-devel and 2 more0:6.2.20-2.el9_7RHSA-2025:20926
Red Hatenterprise_linux:9::appstreamredis, redis-doc, redis-devel and 2 more0:7.2.11-1.module+el9.6.0+23552+a3d3d132RHSA-2025:19345
Red Hatenterprise_linux:9::appstreamredis, redis-doc, redis-devel and 2 more0:7.2.11-1.module+el9.7.0+23559+d075163aRHSA-2025:20955
Red Hatenterprise_linux:9::appstreamvalkey, valkey-devel, valkey-debuginfo and 1 more0:8.0.6-2.el9_7RHSA-2025:21916
Red Hatenterprise_linux:10.0valkey, valkey-devel, valkey-debuginfo and 1 more0:8.0.6-1.el10_0RHSA-2025:19675
Red Hatenterprise_linux:10.1valkey, valkey-devel, valkey-debuginfo and 1 more0:8.0.6-2.el10_1RHSA-2025:21936
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamredis, redis-doc, redis-devel and 2 more0:6.0.9-5.module+el8.4.0+23585+fb4eb024.5RHSA-2025:19318
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamredis, redis-doc, redis-devel and 2 more0:6.0.9-5.module+el8.6.0+23584+001f3496.6RHSA-2025:19239
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamredis, redis-doc, redis-devel and 2 more0:6.2.7-1.module+el8.8.0+23580+a818c120.6RHSA-2025:19399
Red Hatrhel_e4s:9.0::appstreamredis, redis-doc, redis-devel and 2 more0:6.2.6-1.el9_0.5RHSA-2025:18997
3 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 moreredis6.0.14-150200.6.43.1SUSE-SU-2025:03507-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 7 moreredis6.2.6-150400.3.40.1SUSE-SU-2025:03506-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 moreredis77.0.8-150500.3.24.1SUSE-SU-2025:03501-1
SUSELinux Enterprise Module for Server Applications 15 SP6redis7.2.4-150600.3.18.1SUSE-SU-2025:03505-1
SUSELinux Enterprise Module for Server Applications 15 SP6redis77.0.8-150600.8.19.1SUSE-SU-2025:03500-1
SUSELinux Enterprise Module for Server Applications 15 SP6valkey8.0.6-150600.13.17.1SUSE-SU-2025:03499-1
SUSELinux Enterprise Module for Server Applications 15 SP7valkey8.0.6-150700.3.11.1SUSE-SU-2025:03502-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0valkey8.0.6-160000.1.1SUSE-SU-2026:20022-1
openSUSELeap 15.6redis7.2.4-150600.3.18.1SUSE-SU-2025:03505-1
openSUSELeap 15.6redis77.0.8-150600.8.19.1SUSE-SU-2025:03500-1
openSUSELeap 15.6valkey8.0.6-150600.13.17.1SUSE-SU-2025:03499-1
openSUSELeap 16.0redis8.2.3-bp160.1.1openSUSE-SU-2025:20121-1
openSUSELeap 16.0valkey8.0.6-160000.1.1openSUSE-SU-2026:20003-1
openSUSETumbleweedredis8.2.2-1.1openSUSE-SU-2025:15600-1
openSUSETumbleweedvalkey8.1.4-1.1openSUSE-SU-2025:15604-1
AlmaLinux8redis, redis-doc, redis-devel6.2.20-1.module_el8.10.0+4056+739731b0ALSA-2025:19238
AlmaLinux9redis, redis-doc, redis-devel6.2.20-1.el9_6ALSA-2025:19237
AlmaLinux9redis, redis-doc, redis-devel6.2.20-2.el9_7ALSA-2025:20926
AlmaLinux9redis, redis-doc, redis-devel7.2.11-1.module_el9.6.0+188+92104ce8ALSA-2025:19345 ALSA-2025:20955
AlmaLinux9valkey, valkey-devel8.0.6-2.el9_7ALSA-2025:21916
AlmaLinux10valkey, valkey-devel8.0.6-1.el10_0ALSA-2025:19675
AlmaLinux10valkey, valkey-devel8.0.6-2.el10_1ALSA-2025:21936
Rocky Linux8redis0:6.2.20-1.module+el8.10.0+2081+450a296cRLSA-2025:19238
Rocky Linux9redis0:6.2.20-1.el9_6RLSA-2025:19237
Rocky Linux9redis0:6.2.20-2.el9_7RLSA-2025:20926
Rocky Linux9redis0:7.2.11-1.module+el9.7.0+40013+17379f63RLSA-2025:19345 RLSA-2025:20955
Rocky Linux9valkey0:8.0.6-2.el9_7RLSA-2025:21916
Rocky Linux10valkey0:8.0.6-1.el10_0RLSA-2025:19675
Rocky Linux10valkey0:8.0.6-2.el10_1RLSA-2025:21936
Alpinev3.20valkey7.2.11-r0ALPINE-CVE-2025-49844
Alpinev3.21redis, valkey7.2.11-r0ALPINE-CVE-2025-49844
Alpinev3.22redis8.0.4-r0ALPINE-CVE-2025-49844
Alpinev3.22, v3.23, v3.24redict7.3.6-r0ALPINE-CVE-2025-49844
Alpinev3.22, v3.23, v3.24valkey8.1.4-r0ALPINE-CVE-2025-49844
Alpinev3.23, v3.24redis8.2.2-r0ALPINE-CVE-2025-49844
Azure Linux2compat-luano fix listedAZL-68352
Azure Linux2redis6.2.20-1AZL-68226
Azure Linux3compat-luano fix listedAZL-68363
Azure Linux3valkey8.0.6-1AZL-68426
Alpaquita23redis7.0.15-r6BELL-CVE-2025-49844
Alpaquita25redis8.0.4-r0BELL-CVE-2025-49844
Alpaquitastreamredis8.2.2-r0BELL-CVE-2025-49844

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability should be rated Important rather than Moderate because it introduces a memory-safety defect in Redis’s Lua subsystem that can be weaponized for remote code execution (RCE). An authenticated actor with permission to run Lua can craft scripts that trigger a use-after-free in the parser/stack-management code, giving precise control over freed memory and enabling arbitrary code execution inside the redis-server process. That risk is fundamentally different from a typical moderate issue (e.g., a crash or limited denial-of-service): successful exploitation directly compromises the server runtime and all in-memory contents—cached data, session tokens, and application state—rather than merely disrupting service. Because Redis commonly runs with elevated privileges and is a trusted core component in application architectures, an RCE in the server process undermines confidentiality, integrity, and availability across dependent services. Authenticated attackability, trivial exploitation via standard commands (EVAL/EVALSHA), and the potential for full-process compromise elevate CVE-2025-49844 to Important severity.

This flaw exists only in the Redis server implementation;

Redis client libraries (Python, Node.js, Rust, etc.) are not affected by this vulnerability, and it only exists in the Redis server’s embedded Lua engine where scripts execute. Client libraries merely transmit EVAL/EVALSHA to the server.

Red Hat Satellite does not ship the Redis server, and the Redis client libraries it includes (such as python-redis, python-aioredis and rubygem-redis) are not impacted by this vulnerability. While Satellite consume the Redis package from the underlying RHEL system, which is affected, the Redis service in Satellite is bound only to the local interface and is accessible solely by internal components like Pulp and Dynflow. Since vulnerability requires sending crafted Lua payloads to the Redis command interface, and no external or untrusted clients can connect, the effective exposure within Satellite is nullified.

Red Hat's mitigation

No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.

To reduce the risk, restricting network access to trusted hosts, enforcing strong authentication and protected-mode, disabling or limiting Lua scripting where possible can be beneficial and apply least-privilege ACLs to reduce who can run scripting commands, keep instances non-public with firewalls/VPCs, and follow Redis hardening guidance to minimize exposure.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10valkey-0:8.0.6-1.el10_0Fixed 2025-11-04RHSA-2025:19675
Red Hat Enterprise Linux 10valkey-0:8.0.6-2.el10_1Fixed 2025-11-24RHSA-2025:21936
Red Hat Enterprise Linux 8redis:6-8100020251007064521.489197e6Fixed 2025-10-29RHSA-2025:19238
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportredis:6-8040020251022121413.522a0ee4Fixed 2025-10-30RHSA-2025:19318
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onredis:6-8040020251022121413.522a0ee4Fixed 2025-10-30RHSA-2025:19318
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportredis:6-8060020251022110425.ad008a3aFixed 2025-10-29RHSA-2025:19239
Red Hat Enterprise Linux 8.6 Telecommunications Update Serviceredis:6-8060020251022110425.ad008a3aFixed 2025-10-29RHSA-2025:19239
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsredis:6-8060020251022110425.ad008a3aFixed 2025-10-29RHSA-2025:19239
Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceredis:6-8080020251022085755.63b34585Fixed 2025-11-03RHSA-2025:19399
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsredis:6-8080020251022085755.63b34585Fixed 2025-11-03RHSA-2025:19399
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-operator-bundleNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel9-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/eventrouter-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/log-file-metric-exporter-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-view-plugin-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/vector-rhel9Not affected
Red Hat AI Inference Serverrhaiis-preview/vllm-cuda-rhel9Not affected
Red Hat AI Inference Serverrhaiis/vllm-cuda-rhel9Not affected
Red Hat AI Inference Serverrhaiis/vllm-rocm-rhel9Not affected
154 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-49844.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-083-03"Schneider Electric Plant iT/Brewmaxx"2026-01-13Energy, Critical Manufacturing, Commercial FacilitiesProLeiT Plant iT/Brewmaxx Version 9.60 and abovePatch ProLeiT-2025-001 installed on ProLeiT Plant iT/Brewmaxx

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

4 more

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

References

Check your stackJSON