CVE-2026-121417
HIGH 8.8CVSS 4.0Use-after-free in KV backends via leaked `affinitypool::spawn_local` future
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.
- Published
- 3 Nov 2026
- Last modified
- 6 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-416
- Also known as
- GHSA-pm86-cc75-q463RUSTSEC-2026-0453
- Sources
- NVDJSONOSV RUSTSEC-2026-0453JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.8 | CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | surrealdb | >= 0.0.0-0, < 3.3.0 | 3.3.0 |
References
- 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://crates.io/crates/surrealdb · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0453.html · ADVISORY
- https://github.com/surrealdb/surrealdb/commit/8156ff691b1861814199e5e3372c81609b68db7f · WEB
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 3 Nov 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Oct 2026)