- Accueil
- Vulnérabilités
- CVE-2026-97698
CVE-2026-97698
Mistune: Quadratic-time DoS in parse_link_href via unbounded parenthesis scan on empty-label links
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
lepture (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| mistune | Versions non précisées | — | CNA (éditeur ou attributeur) |
Pypi (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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é
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-phmp-hrw4-r36r — Mistune: Quadratic-time DoS in parse_link_href via unbounded parenthesis scan on empty-label links 19 nov. 2026
Références
- https://github.com/lepture/mistune/security/advisories/GHSA-phmp-hrw4-r36rexploit
- https://github.com/lepture/mistune/commit/b4dd3284e52ec741ed9a227db29ade9017828e90x_refsource_MISC
- https://github.com/lepture/mistune/releases/tag/v3.3.4x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-97698ADVISORY
- https://github.com/lepture/mistunePACKAGE
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)