1. Accueil
  2. Vulnérabilités
  3. CVE-2026-97699

CVE-2026-97699

Mistune: Quadratic-time DoS in inline image parsing (precedence_scan) bypasses not-is-image guards

Publiée le 17 nov. 2026 · modifiée le 17 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 44/100

Résumé

Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.4, inline image parsing sends nested ![ openers through precedence_scan because the no_link_before and _label_contains_link linearization guards are gated by not is_image. In src/mistune/inline_parser.py, each outer image opener can therefore search the remaining image body, while max_image_depth does not apply because the failed scans do not produce image tokens. 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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

lepture (1 ligne(s))
lepture
ProduitVersionsCorrigé dansSource
mistune Versions non précisées — CNA (éditeur ou attributeur)
Pypi (1 ligne(s))
Pypi
ProduitVersionsCorrigé dansSource
mistune avant 3.3.4 (exclu) 3.3.4 GitHub Advisory

Correctif

Mise à jour — PyPI/mistune 3.3.4source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:GitHub_M)
Faiblesse
CWE-400 · Autre (CWE-400)

Comment sont obtenues et calculées ces données