CVE-2026-121417
Severity CVSS v4.0:
HIGH
Type:
CWE-416
Use After Free
Publication date:
03/11/2026
Last modified:
03/11/2026
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.
Impact
Base Score 4.0
8.80
Severity 4.0
HIGH
Base Score 3.x
7.80
Severity 3.x
HIGH
References to Advisories, Solutions, and Tools
- https://github.com/surrealdb/surrealdb/commit/17584a181979f04f2aaad867332c22db1caa511a
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-pm86-cc75-q463
- 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/security/advisories/GHSA-pm86-cc75-q463


