CVE-2026-121417

GHSA-pm86-cc75-q463 · RUSTSEC-2026-0453 · published 19 Oct 2026 · updated 6 Nov 2026

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

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.3.0 and surrealdb 3.3.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
surrealdb<3.3.03.3.0
cargo: surrealdb>=0.0.0-0 <3.3.03.3.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in surrealdb (Cargo), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-121417 severity on Zeptric[![CVE-2026-121417](https://zeptric.io/badge/cve/CVE-2026-121417.svg)](https://zeptric.io/cve/CVE-2026-121417)