Skip to content
Heist/ feed
Critical

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-107909

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-107909

FalkorDB

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "cpes": [
      "cpe:2.3:a:falkordb:falkordb:*:*:*:*:*:*:*:*"
    ],
    "repo": "https://github.com/FalkorDB/FalkorDB",
    "vendor": "FalkorDB",
    "modules": [
      "Bolt protocol endpoint"
    ],
    "product": "FalkorDB",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "4.20.0",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "src/bolt/ws.c",
      "src/bolt/buffer.c"
    ],
    "collectionURL": "https://github.com/FalkorDB/FalkorDB",
    "defaultStatus": "unaffected",
    "programRoutines": [
      {
        "name": "ws_read_frame"
      },
      {
        "name": "buffer_apply_mask"
      }
    ]
  }
]
Related CVEs
CVE-2026-107909

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#29197 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement