llamaCVEVulnerability Intelligence
/
Mistune

CVE-2026-97698

Mistune denial of service in parse_link_href via empty-label links

An attacker can send crafted Markdown with empty bracket links to pin a server worker at full CPU.

Default setupsParche disponibledenial of service
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -118 d de la divulgación
Exposición1 dDesde la divulgación, 17 nov 2026, 2:20 p. m.
Detección43 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Parche 3.3.4
Monitoreo
Detectada +1
Fuente: OSV +1
22 jul 26
17 nov 26
19 nov 26
22 jul 26
21 ago 26
20 sept 26
20 oct 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 3.3.4 mistune · -118 d desde divulgación
Divulgación Publicada CVE-2026-97698 divulgada · CVSS 7.5 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.4, parse_link_href performs an unbounded parenthesis-balancing scan to the end of the document for each unmatched opening parenthesis reached through an empty [] link label. In src/mistune/helpers.py and src/mistune/inline_parser.py, the empty label bypasses no_close_bracket_before, and no_link_before advances only past the short label, so successive [] ( candidates repeatedly scan the remaining document. Rendering untrusted Markdown with the default HTML renderer and no plugins can perform quadratic CPU work and keep a worker at 100 percent utilization. This issue is fixed in version 3.3.4.

Affects mistune versions before 3.3.4 using the default mistune.html() renderer with no plugins. Fixed in 3.3.4.

¿Qué significa?A crafted link with an empty label makes mistune's link-href parser scan for closing parentheses without a limit, so parsing takes quadratic time. This can keep a server worker at 100% CPU for tens of seconds, causing denial of service.
¿Quién está afectado?Mistune versions before 3.3.4 are affected, and the issue is stated for the default mistune.html() renderer with no plugins. To check, look at the installed mistune version and whether the default HTML renderer is used without plugins.
¿Qué hacer?Upgrade mistune to 3.3.4 or later.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Mistune versions before 3.3.4“Affected versions: < 3.3.4”
02
Default HTML renderer with no plugins“on the default mistune.html() renderer with no plugins”
¿Quién debe revisar?Teams running mistune before 3.3.4 that render untrusted Markdown with the default HTML renderer and no plugins
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:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
mistune< 3.3.4
3.3.4
3.4.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypimistune
Corregida 3.3.4 -118 d 3.4.0 no afectada
Versiones corregidas3.3.4
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/lepture/mistune/security/advisories/GHSA-phmp-hrw4-r36r
Otrahttps://github.com/lepture/mistune/commit/b4dd3284e52ec741ed9a227db29ade9017828e90
Otrahttps://github.com/lepture/mistune/releases/tag/v3.3.4

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