{"id":"CVE-2026-107909","revision":"71503c47d88f4da4a0cba79e4407cec8","records":[{"revision":"71503c47d88f4da4a0cba79e4407cec8","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-107909","aliases":[],"title":"Pre-authentication heap out-of-bounds write in FalkorDB Bolt WebSocket frame handling via unbounded payload length","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.","state":0,"publishedAt":"2026-10-09T05:08:12.082+00:00","modifiedAt":"2026-10-15T15:54:47.531+00:00","affected":[{"ecosystem":"https://github.com/FalkorDB/FalkorDB","name":"FalkorDB","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"FalkorDB\",\n                    \"product\": \"FalkorDB\",\n                    \"collectionURL\": \"https://github.com/FalkorDB/FalkorDB\",\n                    \"repo\": \"https://github.com/FalkorDB/FalkorDB\",\n                    \"modules\": [\n                        \"Bolt protocol endpoint\"\n                    ],\n                    \"programFiles\": [\n                        \"src/bolt/ws.c\",\n                        \"src/bolt/buffer.c\"\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"ws_read_frame\"\n                        },\n                        {\n                            \"name\": \"buffer_apply_mask\"\n                        }\n                    ],\n                    \"cpes\": [\n                        \"cpe:2.3:a:falkordb:falkordb:*:*:*:*:*:*:*:*\"\n                    ],\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"4.20.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":8.8,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"severity":"CRITICAL"}],"references":["https://github.com/FalkorDB/FalkorDB/pull/2170","https://github.com/FalkorDB/FalkorDB/commit/0b11a00b34b25c4d4fdfe55f0a35c8a00593bd7d","https://github.com/FalkorDB/FalkorDB/releases/tag/v4.20.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-107909","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-107909","identifiers":["CVE-2026-107909"]},"retained":false,"historicalAffected":[]}],"coverage":[]}