REDHAT-BUG-2517906: Use After Free

Published Aug 18, 2026
·
Updated

Valkey is a distributed key-value database. Prior to 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1, Valkey's RESTORE command accepts a malformed RDB stream payload that assigns one Pending Entry List NACK to multiple consumers during stream consumer-group deserialization, causing a use-after-free when one consumer is deleted while another still references the shared NACK and potentially allowing remote code execution. This issue is fixed in versions 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1.

Affected Software

1 affected component
Valkey Valkey<7.2.14, <8.0.10, <8.1.9, <9.0.5, <9.1.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Valkey to a version that resolves this vulnerability.

    Fixed in 7.2.14
  2. Upgrade

    Upgrade Valkey to a version that resolves this vulnerability.

    Fixed in 8.0.10
  3. Upgrade

    Upgrade Valkey to a version that resolves this vulnerability.

    Fixed in 8.1.9
  4. Upgrade

    Upgrade Valkey to a version that resolves this vulnerability.

    Fixed in 9.0.5
  5. Upgrade

    Upgrade Valkey to a version that resolves this vulnerability.

    Fixed in 9.1.1

Event History

Aug 18, 2026
Data Sourced
via Red Hat·02:35 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What must an attacker be able to do to exploit this issue?

An attacker needs to be able to submit a malformed RDB stream payload through Valkey's RESTORE command. The payload causes the same Pending Entry List NACK to be assigned to multiple consumers during stream consumer-group deserialization.

2

Which Valkey releases contain the fix?

The issue is fixed in Valkey 7.2.14, 8.0.10, 8.1.9, 9.0.5, and 9.1.1. Versions before the corresponding fixed release are affected.

3

What is the impact after a malicious payload is restored?

Deleting one consumer can free a shared NACK while another consumer still references it, resulting in a use-after-free condition. The issue may allow 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