Security mailing lists by PureSourceCode

CVE-2026-121417

HIGH 8.8CVSS 4.0

Use-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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io surrealdb >= 0.0.0-0, < 3.3.0 3.3.0

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.