{"id":"CVE-2026-107909","published":"2026-10-09T06:17:12.303","lastModified":"2026-10-09T06:17:12.413","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.","cvssScore":9.1,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","cwes":["CWE-787"],"vendors":[],"products":[],"references":[{"url":"https://github.com/FalkorDB/FalkorDB/commit/0b11a00b34b25c4d4fdfe55f0a35c8a00593bd7d","tags":[]},{"url":"https://github.com/FalkorDB/FalkorDB/pull/2170","tags":[]},{"url":"https://github.com/FalkorDB/FalkorDB/releases/tag/v4.20.0","tags":[]}],"exploitRefs":[{"url":"https://github.com/FalkorDB/FalkorDB/commit/0b11a00b34b25c4d4fdfe55f0a35c8a00593bd7d","tags":[]},{"url":"https://github.com/FalkorDB/FalkorDB/pull/2170","tags":[]},{"url":"https://github.com/FalkorDB/FalkorDB/releases/tag/v4.20.0","tags":[]}],"hasPoc":true,"ai":{"summary":"This flaw allows a remote attacker to cause a denial of service and potentially corrupt heap memory by sending a malicious WebSocket frame, impacting deployments that have the Bolt endpoint enabled.","exploitability":"Exploitation is moderately hard as it requires sending a specific WebSocket frame, but the lack of a bounds check in release builds makes it feasible for skilled attackers.","blast_radius":"The impact is significant as it can lead to a denial of service and possibly data corruption, affecting services that rely on the Bolt endpoint.","remediation":"Upgrade to FalkorDB 4.20.0 or later to mitigate the risk.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["dos","heap-corruption","web-socket","remote-exploit"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-09T08:43:33.958Z"}}