Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/FalkorDB/FalkorDB/commit/0b11a00b34b25c4d4fdfe55f0a35c8a00593
- https://github.com/FalkorDB/FalkorDB/pull/2170
- https://github.com/FalkorDB/FalkorDB/releases/tag/v4.20.0
FAQ
What is CVE-2026-107909?
CVE-2026-107909 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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...
How severe is CVE-2026-107909?
CVE-2026-107909 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-107909?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.