CVE-2025-46817: Lua library commands may lead to integer overflow and potential RCE

Published Oct 3, 2025
·
Updated

Lua library commands may lead to integer overflow and potential RCE

Other sources

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 cause an integer overflow 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.

— MITRE

Affected Software

34 affected componentsFixes available
Redis Redis<8.2.2
Microsoft cbl2 redis 6.2.18-3
Microsoft azl3 valkey 8.0.4-1
Microsoft cbl2 redis 6.2.20-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
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
ubuntu/valkey<7.2.11+dfsg1-0ubuntu0.2
7.2.11+dfsg1-0ubuntu0.2
ubuntu/redict*
ubuntu/valkey<8.1.4+dfsg1-0ubuntu0.2
8.1.4+dfsg1-0ubuntu0.2
ubuntu/redict*
ubuntu/redict*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 7.3.6-r0
  2. Upgrade

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

    Fixed in 7.2.11-r0
  3. Upgrade

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

    Fixed in 8.0.4-r0
  4. Upgrade

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

    Fixed in 8.2.2-r0
  5. Upgrade

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

    Fixed in 7.2.11-r0
  6. Upgrade

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

    Fixed in 8.1.4-r0
  7. Upgrade

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

    Fixed in 7.3.6+ds-1
  8. 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
  9. 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
  10. Upgrade

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

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

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

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

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

    Fixed in 5:8.0.4-1
  13. Upgrade

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

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

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

    Fixed in 8.1.4+dfsg1-1
  15. Upgrade

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

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

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

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

    Upgrade Redis to a version that resolves this vulnerability.

    Fixed in 8.2.2

Event History

Oct 3, 2025
CVE Published
via MITRE·05:52 PM
Data Sourced
via MITRE·05:52 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·06:02 PM
DescriptionSeverityAffected Software
Data Sourced
via OSV·06:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Oct 7, 2025
Exploit Published
via GitHub·04:56 AM
Oct 8, 2025
Data Sourced
via NVD·03:17 PM
RemedyAffected Software
Updated
via NVD·03:17 PM
Severity
Oct 10, 2025
Data Sourced
via Microsoft·01:36 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:36 AM
Affected Software
Nov 12, 2025
Updated
via NVD·11:34 AM
SeverityAffected Software
Event
via NVD·11:34 AM
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-46817?

CVE-2025-46817 is considered critical due to its potential for remote code execution via integer overflow.

2

How do I fix CVE-2025-46817?

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

3

Which versions of Redis are affected by CVE-2025-46817?

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

4

Can an unauthenticated user exploit CVE-2025-46817?

No, an authenticated user is required to exploit CVE-2025-46817.

5

What type of vulnerability is CVE-2025-46817?

CVE-2025-46817 is an integer overflow vulnerability that can lead to remote code execution.

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