Executive brief
FalkorDB is a graph database module for Redis that supports bulk insert operations. An integer overflow vulnerability in array parsing allows an authenticated attacker to trigger excessive memory allocation, causing the database to consume tens of gigabytes of RAM and crash, disrupting service availability.
Technical details
The _BulkInsert_ReadProperty function in bulk_insert.c reads a signed int64_t length from the binary payload without validation before passing it to SIArray_New(), which expects an unsigned uint32_t. A negative length is implicitly converted to a very large unsigned value, causing massive unvalidated allocation. The subsequent population loop never executes because the signed/unsigned comparison fails, resulting in pure memory waste and potential out-of-memory termination on constrained systems.
Affected products
- FalkorDB FalkorDB 4.20.1
Timeline
- 2026-08-05: disclosed
- 2026-09-21: advisory