# CVE-2026-5759: Double free and use-after-free in FalkorDB RdbLoadDeletedNodes allows remote code execution via crafted RDB

- Severity: Critical 9.3 (CVSS:4.0, scored by securin) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2026-10-09T04:04:28.078Z
- Modified: 2026-10-13T18:17:25.287Z
- Weaknesses: CWE-415, CWE-416
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: securin

## 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.

(As written by CVE List.)

## Affected

- FalkorDB FalkorDB: before 4.18.1

## Every score

- securin: CVSS:4.0 9.3 Critical `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`
- securin: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/FalkorDB/FalkorDB/pull/1843> (patch)
- <https://github.com/FalkorDB/FalkorDB/commit/523d98ac7ffe99f11a9c95c258025c235f0dff4c> (patch)
- <https://github.com/FalkorDB/FalkorDB/releases/tag/v4.18.1> (release-notes)

## Sources

- CVE List: [CVE-2026-5759](https://www.cve.org/CVERecord?id=CVE-2026-5759), CVE Terms of Use, modified 2026-10-13
- NVD: [CVE-2026-5759](https://nvd.nist.gov/vuln/detail/CVE-2026-5759), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2026-5759 · Whole record: https://cve.day/CVE-2026-5759.json · Rebuilt by cve.day 2026-11-25T22:59:43.270Z
