← Back to search

CVE-2026-121417

7.8 HIGHpublic exploit available

Published 2026-11-03 · Updated 2026-11-03

AI risk analysis

Summary
SurrealDB versions before 3.3.0 contain a use-after-free vulnerability in its KV backends where transaction state borrowed into async closures can be freed prematurely if embedders leak dispatched futures (e.g., via mem::forget), leading to memory corruption or crashes when pool workers access deallocated memory.
Exploitability
Exploitation requires local access, low privileges, and deliberate misuse of the Rust embedding API—specifically leaking a future with mem::forget while dropping the transaction—making it difficult for typical attackers but feasible for malicious embedder code.
Blast radius
Successful exploitation could allow an attacker with local access to crash the database service or potentially execute arbitrary code via memory corruption, affecting confidentiality, integrity, and availability of the SurrealDB instance.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to SurrealDB version 3.3.0 or later, which resolves the use-after-free issue in the KV backends.
use-after-freememory-corruptionlocal-exploitrust-embedder

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Weaknesses

CWE-416

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.