CVE-2026-107908 PUBLISHED

Pre-authentication heap out-of-bounds write in FalkorDB Bolt BoltReadHandler via RESET message

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

A heap-based out-of-bounds write in the BoltReadHandler function (src/bolt/bolt_api.c) in FalkorDB before 4.20.0 allows a remote unauthenticated attacker to cause a denial of service and possibly execute arbitrary code by sending a Bolt RESET message with an attacker-chosen chunk size to the Bolt port. The handler checks the size only with ASSERT(), which is compiled out in release builds, then computes a destination pointer from the wire-supplied 16-bit size and moves buffered data up to about 64 KiB backwards past the start of the read buffer. Only deployments that enable the Bolt endpoint (BOLT_PORT, disabled by default) are affected.

Metrics

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

Product Status

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

Workarounds

Leave the Bolt endpoint disabled (do not set the BOLT_PORT module configuration; it is disabled by default), or restrict network access to the Bolt port to trusted clients.

Solutions

Upgrade FalkorDB to version 4.20.0 or later. Bolt protocol support, including the code affected by this issue, was removed in 4.20.0.

Credits

  • Arjun Basnet from Securin finder

References

Problem Types

  • CWE-787 Out-of-bounds Write CWE

Impacts

  • CAPEC-100 Overflow Buffers