{"id":"CVE-2026-121417","published":"2026-11-03T14:28:15Z","modified":"2026-11-03T17:06:36Z","title":"SurrealDB before 3.3.0 Use-After-Free via affinitypool spawn_local in KV Backends","vendor":"surrealdb","product":"surrealdb","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.002,"percentile":0.10087,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-pm86-cc75-q463","tags":["vendor-advisory"]},{"url":"https://github.com/surrealdb/surrealdb/commit/17584a181979f04f2aaad867332c22db1caa511a","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-3.3.0-use-after-free-via-affinitypool-spawn-local-in-kv-backends","tags":["third-party-advisory"]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":2.02},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"surrealdb","affectedVersions":[{"vendor":"surrealdb","product":"surrealdb","versions":["< 3.3.0"]}],"fixedVersions":[{"vendor":"surrealdb","product":"surrealdb","versions":["3.3.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-11-03T17:06:00.194955Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"surrealdb","vulnerableRanges":[">=0.0.0-0, <3.3.0"],"patched":["3.3.0"],"from":["RUSTSEC-2026-0453"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-115949","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-63740","published":"2026-07-20","fixed":"3.1.4","kev":false},{"cve":"CVE-2026-63738","published":"2026-07-20","fixed":"3.1.5","kev":false},{"cve":"CVE-2026-63735","published":"2026-07-20","fixed":"3.2.0","kev":false,"link":{"from":"CVE-2026-63735","to":"CVE-2026-121417","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:surrealdb","fromFixed":"3.2.0","toFixed":"3.3.0","daysApart":106}]}},{"cve":"CVE-2026-121417","published":"2026-11-03","fixed":"3.3.0","kev":false}],"package":"crates.io:surrealdb"}}