CVE-2026-5759 (GCVE-0-2026-5759)
Vulnerability from cvelistv5
Published
2026-10-09 04:04
Modified
2026-10-13 17:01
CWE
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 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.
Impacted products
Vendor Product Version
FalkorDB FalkorDB Version: 0   ≤
    cpe:2.3:a:falkordb:falkordb:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-5759",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-13T15:28:40.207197Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-13T17:01:45.296Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://github.com/FalkorDB/FalkorDB",
          "cpes": [
            "cpe:2.3:a:falkordb:falkordb:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "RDB serializer / graph decoder"
          ],
          "product": "FalkorDB",
          "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"
          ],
          "programRoutines": [
            {
              "name": "RdbLoadDeletedNodes_v17"
            },
            {
              "name": "RdbLoadDeletedNodes_v18"
            },
            {
              "name": "RdbLoadDeletedNodes_v19"
            }
          ],
          "repo": "https://github.com/FalkorDB/FalkorDB",
          "vendor": "FalkorDB",
          "versions": [
            {
              "lessThan": "4.18.1",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Arjun Basnet from Securin"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "baseScore": 9.3,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
            "version": "4.0"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "cvssV3_1": {
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-415",
              "description": "CWE-415 Double Free",
              "lang": "en",
              "type": "CWE"
            },
            {
              "cweId": "CWE-416",
              "description": "CWE-416 Use After Free",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-09T04:04:28.078Z",
        "orgId": "33c584b5-0579-4c06-b2a0-8d8329fcab9c",
        "shortName": "securin"
      },
      "references": [
        {
          "name": "FalkorDB PR #1843",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/FalkorDB/FalkorDB/pull/1843"
        },
        {
          "name": "Fix commit",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/FalkorDB/FalkorDB/commit/523d98ac7ffe99f11a9c95c258025c235f0dff4c"
        },
        {
          "name": "FalkorDB 4.18.1 release notes",
          "tags": [
            "release-notes"
          ],
          "url": "https://github.com/FalkorDB/FalkorDB/releases/tag/v4.18.1"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "Upgrade FalkorDB to version 4.18.1 or later."
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "timeline": [
        {
          "lang": "en",
          "time": "2026-04-07T00:00:00.000Z",
          "value": "Reported to FalkorDB"
        },
        {
          "lang": "en",
          "time": "2026-04-10T00:00:00.000Z",
          "value": "Fix merged by the vendor (PR #1843)"
        },
        {
          "lang": "en",
          "time": "2026-04-12T00:00:00.000Z",
          "value": "FalkorDB 4.18.1 released with the fix"
        },
        {
          "lang": "en",
          "time": "2026-04-13T00:00:00.000Z",
          "value": "CVE ID shared with the vendor"
        }
      ],
      "title": "Double free and use-after-free in FalkorDB RdbLoadDeletedNodes allows remote code execution via crafted RDB",
      "workarounds": [
        {
          "lang": "en",
          "value": "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."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "33c584b5-0579-4c06-b2a0-8d8329fcab9c",
    "assignerShortName": "securin",
    "cveId": "CVE-2026-5759",
    "datePublished": "2026-10-09T04:04:28.078Z",
    "dateReserved": "2026-04-07T17:26:12.107Z",
    "dateUpdated": "2026-10-13T17:01:45.296Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-5759\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-13T15:28:40.207197Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-13T15:28:40.918Z\"}}], \"cna\": {\"title\": \"Double free and use-after-free in FalkorDB RdbLoadDeletedNodes allows remote code execution via crafted RDB\", \"source\": {\"discovery\": \"EXTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Arjun Basnet from Securin\"}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV4_0\": {\"version\": \"4.0\", \"baseScore\": 9.3, \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}, {\"format\": \"CVSS\", \"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 9.8, \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"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\"}]}], \"timeline\": [{\"lang\": \"en\", \"time\": \"2026-04-07T00:00:00.000Z\", \"value\": \"Reported to FalkorDB\"}, {\"lang\": \"en\", \"time\": \"2026-04-10T00:00:00.000Z\", \"value\": \"Fix merged by the vendor (PR #1843)\"}, {\"lang\": \"en\", \"time\": \"2026-04-12T00:00:00.000Z\", \"value\": \"FalkorDB 4.18.1 released with the fix\"}, {\"lang\": \"en\", \"time\": \"2026-04-13T00:00:00.000Z\", \"value\": \"CVE ID shared with the vendor\"}], \"solutions\": [{\"lang\": \"en\", \"value\": \"Upgrade FalkorDB to version 4.18.1 or later.\"}], \"references\": [{\"url\": \"https://github.com/FalkorDB/FalkorDB/pull/1843\", \"name\": \"FalkorDB PR #1843\", \"tags\": [\"patch\"]}, {\"url\": \"https://github.com/FalkorDB/FalkorDB/commit/523d98ac7ffe99f11a9c95c258025c235f0dff4c\", \"name\": \"Fix commit\", \"tags\": [\"patch\"]}, {\"url\": \"https://github.com/FalkorDB/FalkorDB/releases/tag/v4.18.1\", \"name\": \"FalkorDB 4.18.1 release notes\", \"tags\": [\"release-notes\"]}], \"workarounds\": [{\"lang\": \"en\", \"value\": \"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.\"}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-415\", \"description\": \"CWE-415 Double Free\"}, {\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-416\", \"description\": \"CWE-416 Use After Free\"}]}], \"providerMetadata\": {\"orgId\": \"33c584b5-0579-4c06-b2a0-8d8329fcab9c\", \"shortName\": \"securin\", \"dateUpdated\": \"2026-10-09T04:04:28.078Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-5759\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-13T17:01:45.296Z\", \"dateReserved\": \"2026-04-07T17:26:12.107Z\", \"assignerOrgId\": \"33c584b5-0579-4c06-b2a0-8d8329fcab9c\", \"datePublished\": \"2026-10-09T04:04:28.078Z\", \"assignerShortName\": \"securin\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…