Mistune before 3.3.3 Denial of Service via Balanced Bracket Link Parsing

State
Published
Severity
6.9 Medium
Published
Nov 3, 2026
Updated
Nov 7, 2026
Reserved
Nov 3, 2026

Read the record on cve.org

Description

Mistune before 3.3.3 contains a denial of service vulnerability in InlineParser.parse_link that allows attackers to cause quadratic CPU growth by supplying balanced nested brackets. Attackers can submit crafted Markdown with thousands of nested bracket pairs not forming a valid link, triggering repeated _contains_nested_link scans that exhaust CPU in parsing applications.

ProductVersions
mistune lepturebefore 3.3.3 Affected3.3.3 Not Affected

Weaknesses

  • CWE-400 Uncontrolled Resource Consumption

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.