CVE-2026-107909

Pre-authentication heap out-of-bounds write in FalkorDB Bolt WebSocket frame handling via unbounded payload length

Published Oct 9, 2026 CVSS 4.0 · 8.8 High EPSS < 1% KEV · Not listed
Description
A heap-based out-of-bounds write in the ws_read_frame function (src/bolt/ws.c) and the buffer_apply_mask function (src/bolt/buffer.c) in FalkorDB before 4.20.0 allows a remote unauthenticated attacker to cause a denial of service and possibly corrupt heap memory by sending a WebSocket frame with a 64-bit extended payload length to the Bolt port. The payload length is not bounded, and the only bounds check in buffer_apply_mask is an ASSERT(), which is compiled out in release builds, so the function XORs memory beyond the end of the receive buffer with the attacker-supplied mask key. Only deployments that enable the Bolt endpoint (BOLT_PORT, disabled by default) are affected.

Analysis

AI-generated

Technical impact

The vulnerability is a heap-based out‑of‑bounds write that occurs in FalkorDB’s WebSocket handling code when a frame with a 64‑bit extended payload length is received. The code does not limit the length of the payload, and the only bounds check is an ASSERT that is stripped from release builds. As a result, an attacker can send a crafted WebSocket frame to the Bolt endpoint and cause the server to overwrite memory beyond the receive buffer, leading to a denial of service and potentially corrupting heap data. This weakness is classified as CWE‑787.

Affected Systems

Affected systems are installations of FalkorDB before version 4.20.0 that have the Bolt endpoint enabled (the BOLT_PORT configuration). The Bolt protocol support, which contains the vulnerable code, was removed in 4.20.0, so any deployment running a previous version with the port enabled is vulnerable. By default, the Bolt endpoint is disabled, so only configurations that explicitly enable it are at risk.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity, while no EPSS score is available and the vulnerability is not listed in the CISA KEV catalog. Because the attack requires only network access to the Bolt port and no prior authentication, an unauthenticated remote adversary can exploit it. If the vulnerability is leveraged to corrupt heap memory, it could provide a foothold for further attacks depending on the system’s kernel or other vulnerabilities. Organizations should assess whether the Bolt endpoint is necessary and act accordingly.

Remediation

Vendor Solution

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.


Vendor Workaround

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.


OpenCVE Recommended Actions

  • Upgrade FalkorDB to version 4.20.0 or newer.
  • Disable the Bolt endpoint if it is not required (do not configure the BOLT_PORT parameter).
  • If upgrade or disabling is not feasible, limit network exposure by restricting the Bolt port to trusted IP addresses using firewall rules or network segmentation.

Generated by OpenCVE AI on October 9, 2026 at 06:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A heap-based out-of-bounds write in the ws_read_frame function (src/bolt/ws.c) and the buffer_apply_mask function (src/bolt/buffer.c) in FalkorDB before 4.20.0 allows a remote unauthenticated attacker to cause a denial of service and possibly corrupt heap memory by sending a WebSocket frame with a 64-bit extended payload length to the Bolt port. The payload length is not bounded, and the only bounds check in buffer_apply_mask is an ASSERT(), which is compiled out in release builds, so the function XORs memory beyond the end of the receive buffer with the attacker-supplied mask key. Only deployments that enable the Bolt endpoint (BOLT_PORT, disabled by default) are affected.
Title Pre-authentication heap out-of-bounds write in FalkorDB Bolt WebSocket frame handling via unbounded payload length
First Time appeared Falkordb
Falkordb falkordb
Weaknesses CWE-787
CPEs cpe:2.3:a:falkordb:falkordb:*:*:*:*:*:*:*:*
Vendors & Products Falkordb
Falkordb falkordb
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}

cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
securin
Published
Updated
Oct 15, 2026, 3:54 PM
Reserved
Oct 9, 2026, 4:54 AM
Status
Deferred
Published
Oct 9, 2026, 6:17 AM
Modified
Oct 15, 2026, 4:17 PM