CVE-2025-46819: Redis is vulnerable to DoS via specially crafted LUA scripts

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 read out-of-bound data or crash the server and subsequent denial of service. 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 block a script by restricting both the EVAL and FUNCTION command families.

Other sources

Redis is vulnerable to DoS via specially crafted LUA scripts

— Microsoft

Affected Software

42 affected componentsFixes available
Redis Redis<=8.2.1
Microsoft azl3 valkey 8.0.4-1
Microsoft cbl2 redis 6.2.20-1
Microsoft cbl2 redis 6.2.18-3
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
ubuntu/redis*
ubuntu/redis*
ubuntu/redis*
ubuntu/redis*
ubuntu/redis*
ubuntu/redis*
ubuntu/valkey<7.2.11+dfsg1-0ubuntu0.2
7.2.11+dfsg1-0ubuntu0.2
ubuntu/redict*
ubuntu/redis*
ubuntu/valkey<8.1.4+dfsg1-0ubuntu0.2
8.1.4+dfsg1-0ubuntu0.2
ubuntu/redict*
ubuntu/redis*
ubuntu/redis*
alpine/redict<7.3.6-r0
7.3.6-r0
alpine/redict<7.3.6-r0
7.3.6-r0
alpine/redict<7.3.6-r0
7.3.6-r0
alpine/redis>=7.0<7.2.11-r0
7.2.11-r0
alpine/redis>=8.0.0<8.0.4-r0
8.0.4-r0
alpine/redis>=8.2.0<8.2.2-r0
8.2.2-r0
alpine/redis>=8.2.0<8.2.2-r0
8.2.2-r0
alpine/valkey<7.2.11-r0
7.2.11-r0
alpine/valkey<7.2.11-r0
7.2.11-r0
alpine/valkey<8.1.4-r0
8.1.4-r0
alpine/valkey<8.1.4-r0
8.1.4-r0
alpine/valkey<8.1.4-r0
8.1.4-r0
debian/redict
7.3.6+ds-1
debian/redis
5:6.0.16-1+deb11u85:7.0.15-1~deb12u65:8.0.2-3+deb13u15:8.0.4-1
debian/valkey
8.1.1+dfsg1-3+deb13u18.1.4+dfsg1-1
debian/redis<5:7.0.15-1~deb12u6
5:7.0.15-1~deb12u6
debian/redis<5:8.0.2-3+deb13u1
5:8.0.2-3+deb13u1
debian/redis<5:8.0.4-1
5:8.0.4-1
debian/valkey<8.1.1+dfsg1-3+deb13u1
8.1.1+dfsg1-3+deb13u1
debian/valkey<8.1.4+dfsg1-1
8.1.4+dfsg1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/valkey to a version that resolves this vulnerability.

    Fixed in 7.2.11+dfsg1-0ubuntu0.2
  2. Upgrade

    Upgrade ubuntu/valkey to a version that resolves this vulnerability.

    Fixed in 8.1.4+dfsg1-0ubuntu0.2
  3. Upgrade

    Upgrade debian/redict to a version that resolves this vulnerability.

    Fixed in 7.3.6+ds-1
  4. Upgrade

    Upgrade debian/redis to a version that resolves this vulnerability.

    Fixed in 5:7.0.15-1~deb12u6
  5. Upgrade

    Upgrade debian/redis to a version that resolves this vulnerability.

    Fixed in 5:8.0.2-3+deb13u1
  6. Upgrade

    Upgrade debian/redis to a version that resolves this vulnerability.

    Fixed in 5:8.0.4-1
  7. Upgrade

    Upgrade debian/valkey to a version that resolves this vulnerability.

    Fixed in 8.1.1+dfsg1-3+deb13u1
  8. Upgrade

    Upgrade debian/valkey to a version that resolves this vulnerability.

    Fixed in 8.1.4+dfsg1-1
  9. Upgrade

    Upgrade alpine/redict to a version that resolves this vulnerability.

    Fixed in 7.3.6-r0
  10. Upgrade

    Upgrade alpine/redis to a version that resolves this vulnerability.

    Fixed in 7.2.11-r0
  11. Upgrade

    Upgrade alpine/redis to a version that resolves this vulnerability.

    Fixed in 8.0.4-r0
  12. Upgrade

    Upgrade alpine/redis to a version that resolves this vulnerability.

    Fixed in 8.2.2-r0
  13. Upgrade

    Upgrade alpine/valkey to a version that resolves this vulnerability.

    Fixed in 7.2.11-r0
  14. Upgrade

    Upgrade alpine/valkey to a version that resolves this vulnerability.

    Fixed in 8.1.4-r0
  15. Upgrade

    Upgrade debian/redis to a version that resolves this vulnerability.

    Fixed in 5:6.0.16-1+deb11u8Fixed in 5:7.0.15-1~deb12u6Fixed in 5:8.0.2-3+deb13u1Fixed in 5:8.0.4-1
  16. Upgrade

    Upgrade debian/valkey to a version that resolves this vulnerability.

    Fixed in 8.1.1+dfsg1-3+deb13u1Fixed in 8.1.4+dfsg1-1
  17. Upgrade

    Upgrade Redis to a version that resolves this vulnerability.

    Fixed in 8.2.2
  18. Configuration

    Use ACLs to prevent users from executing Lua scripts by restricting both the EVAL and FUNCTION command families.

    Redis ACL command access = Block the EVAL and FUNCTION command families

Event History

Oct 3, 2025
CVE Published
via MITRE·07:12 PM
Data Sourced
via MITRE·07:12 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·07:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·08:01 PM
DescriptionSeverityAffected Software
Oct 7, 2025
Exploit Published
via GitHub·04:57 AM
Oct 10, 2025
Data Sourced
via Microsoft·01:37 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:37 AM
Affected Software
Data Sourced
via NVD·04:31 PM
RemedyAffected Software
Updated
via NVD·04:31 PM
SeverityWeakness
Event
via NVD·04:31 PM
Nov 12, 2025
Updated
via NVD·11:34 AM
Affected Software
Jan 27, 2026
Updated
via NVD·07:37 PM
Affected Software
Nov 14, 2026
Updated
via OSV·05:00 PM
Affected Software
Nov 17, 2026
Updated
via OSV·06:31 AM
Affected Software
Nov 24, 2026
Updated
via OSV·05:00 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-46819?

CVE-2025-46819 has a severity rating that indicates a potential denial of service due to out-of-bound data access.

2

How do I fix CVE-2025-46819?

To fix CVE-2025-46819, update Redis to version 8.2.2 or higher.

3

What versions are affected by CVE-2025-46819?

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

4

What type of vulnerability is CVE-2025-46819?

CVE-2025-46819 is a denial of service vulnerability that can be triggered by a specially crafted LUA script.

5

Who can exploit CVE-2025-46819?

CVE-2025-46819 can be exploited by an authenticated user with permissions to execute LUA scripts.

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