{
  "id": "CVE-2026-5759",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-5759",
  "published_at": "2026-10-09T04:04:28.078Z",
  "title": "Double free and use-after-free in FalkorDB RdbLoadDeletedNodes allows remote code execution via crafted RDB",
  "vendor": "FalkorDB",
  "product": "FalkorDB",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-415",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "FalkorDB",
        "product": "FalkorDB",
        "ranges": [
          "\u003c 4.18.1"
        ],
        "fixed_in": [
          "4.18.1"
        ]
      }
    ],
    "solutions": [
      "Upgrade FalkorDB to version 4.18.1 or later."
    ],
    "upgrade": [
      "Upgrade FalkorDB to 4.18.1 or later."
    ],
    "workarounds": [
      "Require authentication on the Redis/FalkorDB instance (requirepass or ACLs), restrict or rename the REPLICAOF/SLAVEOF commands so untrusted clients cannot use them, and do not expose the instance to untrusted networks."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/FalkorDB/FalkorDB/pull/1843"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/FalkorDB/FalkorDB/commit/523d98ac7ffe99f11a9c95c258025c235f0dff4c"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/FalkorDB/FalkorDB/releases/tag/v4.18.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
