Skip to content
Heist/ feed
Critical

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-5759

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-5759

FalkorDB

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "cpes": [
      "cpe:2.3:a:falkordb:falkordb:*:*:*:*:*:*:*:*"
    ],
    "repo": "https://github.com/FalkorDB/FalkorDB",
    "vendor": "FalkorDB",
    "modules": [
      "RDB serializer / graph decoder"
    ],
    "product": "FalkorDB",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "4.18.1",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "src/serializers/decoders/current/v19/decode_graph_entities.c",
      "src/serializers/decoders/prev/v18/decode_graph_entities.c",
      "src/serializers/decoders/prev/v17/decode_graph_entities.c"
    ],
    "collectionURL": "https://github.com/FalkorDB/FalkorDB",
    "defaultStatus": "unaffected",
    "programRoutines": [
      {
        "name": "RdbLoadDeletedNodes_v17"
      },
      {
        "name": "RdbLoadDeletedNodes_v18"
      },
      {
        "name": "RdbLoadDeletedNodes_v19"
      }
    ]
  }
]
Related CVEs
CVE-2026-5759

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#20529 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement