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

Summary

CVECVE-2026-5759
StatePUBLISHED
Assignersecurin
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-09 05:16:44 UTC
Updated2026-10-09 05:16:45 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v4.0 9.3 CRITICAL from 33c584b5-0579-4c06-b2a0-8d8329fcab9c

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Problem Types: CWE-415 | CWE-416 | CWE-415 CWE-415 Double Free | CWE-416 CWE-416 Use After Free


VersionSourceTypeScoreSeverityVector
4.033c584b5-0579-4c06-b2a0-8d8329fcab9cSecondary9.3CRITICALCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/C...
4.0CNACVSS9.3CRITICALCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
3.133c584b5-0579-4c06-b2a0-8d8329fcab9cSecondary9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1CNACVSS9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Confidentiality
High
Integrity
High
Availability
High
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA FalkorDB FalkorDB affected 4.18.1 semver Not specified

References

ReferenceSourceLinkTags
github.com/FalkorDB/FalkorDB/commit/523d98ac7ffe99f11a9c95c258025c235f0d... 33c584b5-0579-4c06-b2a0-8d8329fcab9c github.com
github.com/FalkorDB/FalkorDB/releases/tag/v4.18.1 33c584b5-0579-4c06-b2a0-8d8329fcab9c github.com
github.com/FalkorDB/FalkorDB/pull/1843 33c584b5-0579-4c06-b2a0-8d8329fcab9c github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Arjun Basnet from Securin (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-04-07T00:00:00.000ZReported to FalkorDB
CNA2026-04-10T00:00:00.000ZFix merged by the vendor (PR #1843)
CNA2026-04-12T00:00:00.000ZFalkorDB 4.18.1 released with the fix
CNA2026-04-13T00:00:00.000ZCVE ID shared with the vendor

Solutions

CNA: Upgrade FalkorDB to version 4.18.1 or later.

Workarounds

CNA: 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.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report