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

21 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>=7.0<8.0.4-r0
8.0.4-r0
alpine/redis>=7.0<8.2.2-r0
8.2.2-r0
alpine/redis>=7.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

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 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 NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·06:15 PM
DescriptionSeverityAffected Software
Oct 7, 2025
Exploit Published
via GitHub·04:56 AM
Oct 10, 2025
Data Sourced
via Microsoft·01:36 AM
DescriptionSeverityWeaknessAffected Software

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