CVE-2026-7826 PUBLISHED

Heap out-of-bounds read in FalkorDB BufferSerializerIOv2_ReadBuffer via crafted RDB

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

A heap-based out-of-bounds read in the BufferSerializerIOv2_ReadBuffer function (src/serializers/serializer_io.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 or disclose heap memory by supplying a crafted RDB stream whose sub-buffer length field exceeds the remaining buffer size. The only bounds check is an ASSERT(), which is compiled out in release builds, so memcpy() reads past the end of the heap allocation.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.8

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-125 Out-of-bounds Read CWE

Impacts

  • CAPEC-540 Overread Buffers