CVE-2026-5759: Double free and use-after-free in FalkorDB RdbLoadDeletedNodes allows remote code execution via crafted RDB

Published Oct 9, 2026
·
Updated

A double free and use-after-free vulnerability in the RdbLoadDeletedNodes function of the RDB graph decoders (src/serializers/decoders//decodegraphentities.c) in FalkorDB before 4.18.1 allows a remote attacker who can issue Redis replication commands (for example, against an instance with no password configured) to cause a denial of service or execute arbitrary code in the redis-server process by supplying a crafted RDB stream whose deleted-nodes buffer length is not a multiple of sizeof(NodeID). The length check relies on ASSERT(), which is compiled out in release builds, so the function continues after freeing the buffer, reading it and freeing it a second time.

Affected Software

1 affected component
FalkorDB FalkorDB<4.18.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FalkorDB to a version that resolves this vulnerability.

    Fixed in 4.18.1

Event History

Oct 9, 2026
CVE Published
via MITRE·04:04 AM
Data Sourced
via MITRE·04:04 AM
RemedyDescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are realistically exposed?

FalkorDB versions before 4.18.1 are affected when an attacker can issue Redis replication commands. An instance with no password configured is given as an example of an exposed deployment.

2

What does an attacker need to exploit this issue?

The attacker needs the ability to issue Redis replication commands and supply a crafted RDB stream. The malicious stream uses a deleted-nodes buffer length that is not a multiple of sizeof(NodeID).

3

What is the remediation?

Upgrade FalkorDB to version 4.18.1 or later. The vulnerability affects versions before 4.18.1.

4

What can be done if upgrading is not immediately possible?

Restrict access so untrusted parties cannot issue Redis replication commands. In particular, avoid unauthenticated instances and prevent attackers from providing RDB replication streams.

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