CVE-2026-5759 Double free and use-after-free in FalkorDB RdbLoadDeletedNodes allows remote code execution via crafted RDB
Remote attackers can execute arbitrary code or cause denial of service in FalkorDB by sending a crafted RDB stream via Redis replication commands.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-5759?
CVE-2026-5759 is a critical use after free vulnerability in FalkorDB, published on 9 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A double free and use-after-free vulnerability in the RdbLoadDeletedNodes function of the RDB graph decoders (src/serializers/decoders/*/decode_graph_entities.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.
Which versions are affected by CVE-2026-5759?
How do I fix CVE-2026-5759?
No fix has been published for CVE-2026-5759 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-5759 being exploited?
There is no known exploitation of CVE-2026-5759 in the wild and no public exploit code.
Sources
Also known as GHSA-gxrc-33jm-h5ch.