CVE-2025-49844: Redis Lua Use-After-Free may lead to remote code execution

Published Oct 3, 2025
·
Updated

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.

Other sources

Redis Lua Use-After-Free may lead to remote code execution

Microsoft

Affected Software

16 affected componentsFixes available
Redis redis<=8.2.1
Redis redis<6.2.20
Redis redis>=7.0<7.2.11
Redis redis>=7.4.0<7.4.6
Redis redis>=8.0.0<8.0.4
Redis redis>=8.2.0<8.2.2
Microsoft cbl2 redis 6.2.18-3
Microsoft azl3 valkey 8.0.4-1
Lfprojects Valkey<7.2.11
Lfprojects Valkey>=8.0.0<8.0.6
Lfprojects Valkey>=8.1.0<8.1.4
F5 BIG-IP Next SPK>=2.0.0<=2.0.2
F5 BIG-IP Next SPK>=1.7.0<=1.9.2
F5 BIG-IP Next CNF>=2.0.0<=2.1.0
F5 BIG-IP Next CNF>=1.1.0<=1.4.1
F5 BIG-IP Next for Kubernetes>=2.0.0<=2.1.0

Event History

Oct 3, 2025
CVE Published
via MITRE·07:27 PM
Data Sourced
via MITRE·07:27 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·08:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 6, 2025
News Published
via BleepingComputer·03:55 PM
News Published
via BleepingComputer·03:57 PM
Oct 8, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:01 AM
Affected Software
Updated
via Microsoft·01:01 AM
DescriptionSeverity
Jan 13, 2026
Advisory Published
via F5·10:13 PM
Data Sourced
via F5·10:13 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-49844?

CVE-2025-49844 is classified as a high severity vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2025-49844?

To fix CVE-2025-49844, upgrade Redis to version 8.2.2 or later.

3

Who is affected by CVE-2025-49844?

CVE-2025-49844 affects Redis versions 8.2.1 and below.

4

What type of attack can be executed through CVE-2025-49844?

CVE-2025-49844 allows an authenticated user to execute a specially crafted Lua script that can lead to remote code execution.

5

What components are involved in the exploitation of CVE-2025-49844?

Exploitation of CVE-2025-49844 involves manipulating the garbage collector, leading to a use-after-free condition.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203