CVE-2026-115349: Mistune 3.0.0 before 3.3.0 Denial of Service via Nested Bracket Parsing

Published Oct 22, 2026
·
Updated

Mistune from 3.0.0 before 3.3.0 contains an algorithmic complexity denial of service vulnerability in the parselinktext function in src/mistune/helpers.py. Attackers can submit markdown with deeply nested square brackets triggering quadratic parsing time, exhausting server CPU with small crafted requests.

Affected Software

9 affected componentsFixes available
pypi/mistune>=3.0.0<3.3.0
ubuntu/mistune*
ubuntu/mistune*
ubuntu/mistune*
ubuntu/mistune*
ubuntu/mistune*
ubuntu/mistune*
ubuntu/mistune*
debian/mistune<=2.0.4-1, <=3.1.3-1, <=3.1.4-1
3.4.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/mistune to a version that resolves this vulnerability.

    Fixed in 3.4.0-1

Event History

Oct 22, 2026
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·07:13 PM
Data Sourced
via MITRE·07:13 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness
Oct 28, 2026
Data Sourced
via OSV·05:50 PM
Affected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using Mistune versions from 3.0.0 before 3.3.0 are exposed if they parse attacker-controlled or otherwise untrusted Markdown. An unauthenticated remote attacker can trigger the issue by submitting a crafted Markdown input.

2

What input is needed to exploit the vulnerability?

The attacker needs to provide Markdown containing deeply nested square brackets. This causes quadratic processing in parse_link_text and can consume server CPU with a small request.

3

What is the remediation?

Upgrade Mistune to version 3.3.0 or later. The affected range is 3.0.0 through versions before 3.3.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203