---
id: CVE-2026-5759
title: >-
  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 repl…
summary: >-
  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 repl…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-415
  - CWE-416
published: '2026-10-09'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T05:16:45.043'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-5759'
references:
  - url: >-
      https://github.com/FalkorDB/FalkorDB/commit/523d98ac7ffe99f11a9c95c258025c235f0dff4c
    label: 33c584b5-0579-4c06-b2a0-8d8329fcab9c
  - url: 'https://github.com/FalkorDB/FalkorDB/pull/1843'
    label: 33c584b5-0579-4c06-b2a0-8d8329fcab9c
  - url: 'https://github.com/FalkorDB/FalkorDB/releases/tag/v4.18.1'
    label: 33c584b5-0579-4c06-b2a0-8d8329fcab9c
tags:
  - nvd
ingestedAt: '2026-10-09T05:26:07.005Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
