CVE-2026-121438 PUBLISHED

Mistune before 3.3.3 Denial of Service via Balanced Bracket Link Parsing

Assigner: VulnCheck
Reserved: 03.11.2026 Published: 03.11.2026 Updated: 03.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CVSS Score: 6.9

Product Status

Vendor lepture
Product mistune
Versions Default: unaffected
  • affected from 0 to 3.3.3 (excl.)
  • Version 3.3.3 is unaffected

Credits

  • Str1ckl4nd reporter

References

Problem Types

  • Uncontrolled Resource Consumption CWE