p PatchFirst

CVE-2026-33079

CVE-2026-33079 · Mistune ReDoS in LINK_TITLE_RE allows denial of service with crafted Markdown titles

This page contains facts from public vulnerability sources. Check the original advisory before updating.

In versions 3.0.0a1 through 3.2.0 of Mistune, there is a ReDoS (Regular Expression Denial of Service) vulnerability in `LINK_TITLE_RE` that allows an attacker who can supply Markdown for parsing to cause denial of service. The regular expression used for parsing link titles contains overlapping alternatives that can trigger catastrophic backtracking. In both the double-quoted and single-quoted branches, a backslash followed by punctuation can be matched either as an escaped punctuation sequence or as two ordinary characters, creating an ambiguous pattern inside a repeated group. If an attacker supplies Markdown containing repeated ! sequences with no closing quote, the regex engine explores an exponential number of backtracking paths. This is reachable through normal Markdown parsing of inline links and block link reference definitions. A small crafted input can therefore cause significant CPU consumption and make applications using Mistune unresponsive.

CVSS 8.7 · High · EPSS 0.7% · Fix available

Published
Updated

Stack: system · python

Affected products and versions

  • mistune

    Versions
    • >=3.0.0a1, <= 3.2.0: Affected

    No fix published

  • mistune Debian:13

    Versions
    • 3.1.3-1
    • 3.1.4-1
    • 3.3.4-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mistune Debian:14

    Versions
    • 3.1.3-1
    • 3.1.4-1
    • 3.3.4-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mistune PyPI

    Versions
    • 3.0.0
    • 3.0.0a1
    • 3.0.0a2
    • 3.0.0a3
    • 3.0.0rc1
    • 3.0.0rc2
    • 3.0.0rc3
    • 3.0.0rc4
    • 3.0.0rc5
    • 3.0.1
    • 3.0.2
    • 3.1.0
    • 3.1.1
    • 3.1.2
    • 3.1.3
    • 3.1.4
    • 3.2.0
    Affected ranges
    • ECOSYSTEM: ≥ 3.0.0a1, < 3.2.1

    Update to 3.2.1

  • mistune Ubuntu:16.04:LTS

    Versions
    • 0.6-2
    • 0.7.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mistune Ubuntu:18.04:LTS

    Versions
    • 0.7.4-1
    • 0.8-1
    • 0.8.1-1
    • 0.8.3-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mistune Ubuntu:20.04:LTS

    Versions
    • 0.8.4-1
    • 0.8.4-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mistune Ubuntu:22.04:LTS

    Versions
    • 0.8.4-4
    • 0.8.4-5
    • 2.0.0-1+really0.8.4-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mistune Ubuntu:24.04:LTS

    Versions
    • 2.0.4-2
    • 3.0.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mistune Ubuntu:25.10

    Versions
    • 3.0.2-2
    • 3.1.3-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mistune Ubuntu:26.10

    Versions
    • 3.1.4-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mistune Ubuntu:26.04:LTS

    Versions
    • 3.1.3-1
    • 3.1.4-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →