CVE-2026-33079
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceMistune versions 3.0.0a1 through 3.2.0 contain a ReDoS vulnerability in the LINK_TITLE_RE regex used for parsing Markdown link titles. The regex contains overlapping alternatives where backslash-punctuation sequences can be matched ambiguously as escaped characters or ordinary characters, creating exponential backtracking paths when processing inputs with repeated characters (like !) and unclosed quotes.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check if Mistune is installedRun 'pip show mistune' or 'pip list | grep mistune' to confirm the package is present in your environmentAffected if Mistune is not installed or not in use - the vulnerability only applies if you use Mistune to parse Markdown
-
Identify installed Mistune versionRun 'pip show mistune' and note the Version field, or import mistune and print(mistune.__version__)Affected if Version is 3.0.0a1 through 3.2.0 inclusive - versions outside this range are not affected by this specific ReDoS
-
Confirm link title parsing is in useInspect your code to determine if you parse Markdown containing link syntax with titles, such as [text](url "title") or [text](url 'title')Affected if Your code does not process Markdown with link titles - the vulnerable regex is only invoked when parsing link title attributes
-
Verify the LINK_TITLE_RE pattern contains vulnerable constructsLocate the mistune source file containing LINK_TITLE_RE definition (typically in the parser module) and examine the regex pattern for overlapping alternatives with repeated groupsAffected if The regex pattern matches the vulnerable construct described (alternatives with backslash-punctuation that can cause backtracking ambiguity)
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to Mistune version 3.2.1 or later, which contains the patched regex. Until an official patch is available, consider input validation to limit the length and complexity of link title content.
Mistune version 3.2.1 or later
- 1. Identify the current installed version of the Mistune library in your project (e.g., check requirements.txt, setup.py, pyproject.toml, or pip list)
- 2. Upgrade Mistune to version 3.2.1 or later by updating your dependency specification
- 3. Run your dependency update tool (e.g., pip install --upgrade mistune, or poetry update mistune, or pip-compile)
- 4. Verify the upgrade was successful by checking the installed version
- 5. Run your test suite to confirm the application still functions correctly with the updated library
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation2.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,872.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-33079 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-33079 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data