CVE-2026-7827 PUBLISHED

Stack-based buffer overflow in FalkorDB _RdbLoadEntity via unbounded property count in crafted RDB

Assigner: securin
Reserved: 05.05.2026 Published: 09.10.2026 Updated: 09.10.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 9.2

Product Status

Vendor FalkorDB
Product FalkorDB
Versions Default: unaffected
  • affected from 0 to 4.18.4 (excl.)

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.

Solutions

Upgrade FalkorDB to version 4.18.4 or later.

Credits

  • Arjun Basnet from Securin finder

References

Problem Types

  • CWE-121 Stack-based Buffer Overflow CWE

Impacts

  • CAPEC-100 Overflow Buffers