CVE-2026-121417 Details
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.
A use-after-free vulnerability has been identified in SurrealDB versions prior to 3.3.0. This issue resides within the 'surrealdb-core' KV backends that pass borrowed transaction state into 'affinitypool::spawn_local' closures, relying on the future's 'Drop' for safety. Rust embedders that inadvertently leak a dispatched future, such as through 'mem::forget', while dropping the transaction, can cause pool workers to access freed memory. This mismanagement risks crashes or memory corruption.
Users are advised to upgrade to SurrealDB version 3.3.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 3, 2026CISA-ADP
Assessed Nov 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/surrealdb/surrealdb/security/advisories/GHSA-pm86-cc75-q463 | CISA-ADP | AdvisoryExploitTechnical AnalysisVendor |
| https://github.com/surrealdb/surrealdb/commit/17584a181979f04f2aaad867332c22db1caa511a | [email protected] | Broken LinkSource CodeVendor |
| https://github.com/surrealdb/surrealdb/security/advisories/GHSA-pm86-cc75-q463 | [email protected] | AdvisoryExploitTechnical AnalysisVendor |
| https://www.vulncheck.com/advisories/surrealdb-before-3.3.0-use-after-free-via-affinitypool-spawn-local-in-kv-backends | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SurrealDB | < 3.3.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 3, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2026 | New CVE Received | [email protected] |
Volerion