REDHAT-BUG-2466788: Use After Free

Published May 5, 2026
·
Updated

Redis is an in-memory data structure store. In all versions of redis-server with Lua scripting, an authenticated attacker can exploit the master-replica synchronization mechanism to trigger a use-after-free on replicas where replica-read-only is disabled or can be disabled, which may lead to remote code execution. A workaround is to prevent users from executing Lua scripts or avoid using replicas where replica-read-only is disabled. This is patched in version 8.6.3.

Affected Software

1 affected component
Redis redis-server<8.6.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.6.3
  2. Compensating control

    Apply the described workaround: prevent users from executing Lua scripts and/or avoid using replicas where replica-read-only is disabled (or can be disabled).

Event History

May 5, 2026
Data Sourced
via Red Hat·05:02 PM
DescriptionSeverityAffected 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 REDHAT-BUG-2466788?

The severity of REDHAT-BUG-2466788 is rated as high with a score of 7.

2

How do I fix REDHAT-BUG-2466788?

To resolve REDHAT-BUG-2466788, update to the latest patched version of Redis that addresses the vulnerability.

3

What kind of attack can be executed due to REDHAT-BUG-2466788?

An authenticated attacker can exploit the vulnerability to trigger a use-after-free condition that affects replicas.

4

What conditions must be met for REDHAT-BUG-2466788 to be exploited?

Exploitation of REDHAT-BUG-2466788 requires that replica-read-only is disabled or not enforced on the replicas.

5

Is LUA scripting in Redis related to REDHAT-BUG-2466788?

Yes, the vulnerability in REDHAT-BUG-2466788 affects all versions of redis-server that support Lua scripting.

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