Skip to content
OpenAdvisories
High · 7.8 CVE-2026-121417 EUVD-2026-115949GHSA-7wmw-j7vc-669rGHSA-pm86-cc75-q463RUSTSEC-2026-0453

SurrealDB before 3.3.0 Use-After-Free via affinitypool spawn_local in KV Backends

Published Nov 3, 2026 · Updated Nov 3, 2026 · Assigned by VulnCheck

Description

SurrealDB before 3.3.0 contains a use-after-free vulnerability in surrealdb-core KV backends that pass borrowed transaction state into affinitypool::spawn_local closures relying on future Drop for safety. Rust embedders that leak a dispatched future (e.g. via mem::forget) and drop the transaction cause pool workers to read and write freed memory, risking crashes or memory corruption.

Affected products

VendorProductAffectedFixed
surrealdb surrealdb < 3.3.0 3.3.0

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io surrealdb >= 0.0.0-0, < 3.3.0 3.3.0 RUSTSEC-2026-0453

References