CVE-2026-33079
In versions 3.0.0a1 through 3.2.0 of Mistune, there is a ReDoS …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/lepture/mistune/security/advisories/GHSA-8mp2-v27r-99xp
- github.com/advisories/GHSA-8mp2-v27r-99xp
- github.com/lepture/mistune/blob/df23edd60b43b639d2e6760ef9dd3d618aa11c21/src/mistune/helpe
- nvd.nist.gov/vuln/detail/CVE-2026-33079
- access.redhat.com/security/cve/CVE-2026-33079
- bugzilla.redhat.com/show_bug.cgi?id=2467298
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33079.json
- access.redhat.com/errata/RHSA-2026:43038
- nvd.nist.gov/vuln/detail/CVE-2026-33079
- cve.org/CVERecord?id=CVE-2026-33079
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.