Stack-based buffer overflow in FalkorDB _RdbLoadEntity via unbounded property count in crafted RDB
Summary
| CVE | CVE-2026-7827 |
|---|---|
| State | PUBLISHED |
| Assigner | securin |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-09 05:16:45 UTC |
| Updated | 2026-10-09 05:16:45 UTC |
| Description | A stack-based buffer overflow in the _RdbLoadEntity function of the RDB graph decoders (src/serializers/decoders/*/decode_graph_entities.c) in FalkorDB before 4.18.4 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 and possibly execute arbitrary code by supplying a crafted RDB stream with an attacker-controlled entity property count. The count sizes two variable-length arrays on the thread stack with no upper bound, and the decoder then fills them with attacker-supplied values. |
Risk And Classification
Primary CVSS: v4.0 9.2 CRITICAL from 33c584b5-0579-4c06-b2a0-8d8329fcab9c
CVSS:4.0/AV:N/AC:H/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-121 | CWE-121 CWE-121 Stack-based Buffer Overflow
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | 33c584b5-0579-4c06-b2a0-8d8329fcab9c | Secondary | 9.2 | CRITICAL | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/C... |
| 4.0 | CNA | CVSS | 9.2 | CRITICAL | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| 3.1 | 33c584b5-0579-4c06-b2a0-8d8329fcab9c | Secondary | 8.1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 8.1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v4.0 Breakdown
CVSS:4.0/AV:N/AC:H/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
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/FalkorDB/FalkorDB/releases/tag/v4.18.4 | 33c584b5-0579-4c06-b2a0-8d8329fcab9c | github.com | |
| github.com/FalkorDB/FalkorDB/pull/1973 | 33c584b5-0579-4c06-b2a0-8d8329fcab9c | github.com | |
| github.com/FalkorDB/FalkorDB/commit/7d15431aadf37588fadc2578b90c3afb5e8d... | 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
| Source | Time | Event |
|---|---|---|
| CNA | 2026-04-24T00:00:00.000Z | Reported to FalkorDB |
| CNA | 2026-05-05T00:00:00.000Z | CVE ID shared with the vendor |
| CNA | 2026-05-07T00:00:00.000Z | Fix merged by the vendor (PR #1973) |
| CNA | 2026-05-07T00:00:00.000Z | FalkorDB 4.18.4 released with the fix |
Solutions
CNA: Upgrade FalkorDB to version 4.18.4 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.