CVE-2026-121417
Dashboard / Vulnerabilities / CVE-2026-121417
CVE-2026-121417
Summary: SurrealDB before 3.3.0 Use-After-Free via affinitypool spawn_local in KV Backends
Details: 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.
References: https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121417.json, https://github.com/surrealdb/surrealdb/security/advisories/GHSA-pm86-cc75-q463, https://nvd.nist.gov/vuln/detail/CVE-2026-121417, https://www.vulncheck.com/advisories/surrealdb-before-3.3.0-use-after-free-via-affinitypool-spawn-local-in-kv-backends, https://github.com/surrealdb/surrealdb/commit/17584a181979f04f2aaad867332c22db1caa511a
Affected packages
Package
Name:
Purl:
