llamaCVEVulnerability Intelligence
/
surrealdb

CVE-2026-121417

SurrealDB before 3.3.0 Use-After-Free via affinitypool spawn_local in KV Backends

Specific setups onlyParche disponibleuse-after-free
Descargar PNG JSON
CVSS 4.0
8.8
Alta
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 Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.3.0
Exposición16 dDesde la divulgación, 3 nov 2026, 9:28 a. m.
Detección7 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Monitoreo
Detectada +2
Verificada
3 nov 26
16 nov 26
19 nov 26
3 nov 26
7 nov 26
11 nov 26
15 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-121417 divulgada · CVSS 8.8 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

Only affects SurrealDB versions before 3.3.0 when a Rust embedder leaks a dispatched future (e.g. via mem::forget) and then drops the transaction. Fixed in 3.3.0.

¿Qué significa?The bug is a use-after-free in SurrealDB's affinitypool spawn_local path for KV backends. When a Rust embedder leaks a dispatched future and then drops the transaction, pool workers read and write freed memory, which risks crashes or memory corruption.
¿Quién está afectado?SurrealDB versions before 3.3.0 are in the affected range. The bug needs a Rust embedder that leaks a dispatched future (e.g. via mem::forget) and then drops the transaction. To check a installed version, run the surreal version command or look at the version the server reports.
¿Qué hacer?Upgrade SurrealDB to 3.3.0 or later, which is the fixed version listed for this vulnerability.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
A Rust embedder leaks a dispatched future (e.g. via mem::forget) and then drops the transaction“Rust embedders that leak a dispatched future (e.g. via mem::forget) and drop the transaction”
02
Affected SurrealDB versions are those before 3.3.0“SurrealDB before 3.3.0 contains a use-after-free vulnerability”
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:H
AltoBajoNinguno
Integridad (posterior)SI:H
AltoBajoNinguno
Disponib. (posterior)SA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
surrealdb< 3.3.0
3.3.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
surrealdb
Corregida 3.3.0 — —
Versiones corregidas3.3.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/surrealdb/surrealdb/security/advisories/GHSA-pm86-cc75-q463
Parchehttps://github.com/surrealdb/surrealdb/commit/17584a181979f04f2aaad867332c22db1caa511a
Otrahttps://www.vulncheck.com/advisories/surrealdb-before-3.3.0-use-after-free-via-affinitypool-spawn-local-in-kv-backends

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.