llamaCVEVulnerability Intelligence
/
MariaDB server

CVE-2026-85748

MariaDB use-after-free in SYS_REFCURSOR handling

A low-privileged user can corrupt memory by opening many cursors, which can aid remote code execution when chained.

Crítica · CVSS alto en tecnología listadaSpecific setups onlyParche disponible
Descargar PNG JSON
CVSS 3.1
9.9
Crítica
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versiones12.3.3 · 13.0.2
Exposición34 dDesde la divulgación, 16 oct 2026, 11:28 a. m.
Detección6 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, 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
Fuente: OSV
16 oct 26
22 oct 26
24 oct 26
19 nov 26
16 oct 26
25 oct 26
2 nov 26
11 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-85748 divulgada · CVSS 9.9 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Resumen

MariaDB server is a community developed fork of MySQL server. From 12.3.1 until 12.3.3 and 13.0.2, SYS_REFCURSOR handling is affected because cursor-array reallocation can leave stale references in routine contexts. A low-privileged attacker can open a large number of SYS_REFCURSORs and then fetch one to trigger a use-after-free that can enable remote code execution when combined with another vulnerability. This issue is fixed in versions 12.3.3 and 13.0.2.

Affects MariaDB server 12.3.1-12.3.2 and 13.0.1 when a large number of SYS_REFCURSORs are opened and then one of them is fetched. Fixed in 12.3.3 and 13.0.2.

¿Qué significa?Opening a large number of SYS_REFCURSOR objects and then fetching one of them can trigger a use-after-free, a memory bug where freed memory is accessed again. The advisory says it could be used in a multi-vulnerability chain, such as remote code execution when combined with another vulnerability.
¿Quién está afectado?The advisory lists MariaDB server versions 12.3.1-12.3.2 and 13.0.1 as affected, and the affected setup requires a large number of SYS_REFCURSORs to be opened and then one fetched. Check the installed version with SELECT VERSION() or mariadb --version.
¿Qué hacer?Upgrade to MariaDB 12.3.3 or 13.0.2, which contain the fix.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affected MariaDB server versions 12.3.1-12.3.2 and 13.0.1“12.3.1-12.3.2, 13.0.1”
02
A large number of SYS_REFCURSORs must be opened and then one of them fetched“When a large number of SYS_REFCURSOR's are opened and then one of them is fetched”
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
server · mariadb · mariadb-min · mysql-client≥ 12.3.1 < 12.3.3
mariadb · mariadb-min · mysql-client≥ 13.0.0 < 13.0.2
server≥ 13.0.1 < 13.0.2
12.3.1
12.3.3
13.0.0
13.0.1
13.0.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
server
Corregida 12.3.3, 13.0.2 — —
mariadb
Corregida 12.3.3, 13.0.2 — —
mysql-client
Corregida 12.3.3, 13.0.2 — —
Versiones corregidas12.3.313.0.2
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/MariaDB/server/security/advisories/GHSA-mv8g-9f7q-hprm
Fabricantehttps://jira.mariadb.org/browse/MDEV-40396
Fabricantehttps://jira.mariadb.org/browse/MDEV-40639
Otrahttps://github.com/MariaDB/server/commit/91156c3de58762196605150ab3f756fe952592d1
Otrahttps://github.com/MariaDB/server/commit/9b075b2cb53338f67e7230cc585e02d2d34514ed
Otrahttps://github.com/MariaDB/server/releases/tag/mariadb-12.3.3
Otrahttps://github.com/MariaDB/server/releases/tag/mariadb-13.0.2

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