CVE-2019-25781 PUBLISHED

Python-Markdown 3.0 through 3.11.2 Denial of Service via Link Bracket Parsing

Assigner: VulnCheck
Reserved: 29.10.2026 Published: 29.10.2026 Updated: 29.10.2026

Python-Markdown 3.0 through 3.11.2 contains an algorithmic complexity vulnerability in inline link parsing that allows remote attackers to exhaust CPU through unmatched brackets. Attackers can submit short Markdown containing repeated [ or ![ characters, forcing LinkInlineProcessor.getText() and getLink() into quadratic scans that keep workers busy for minutes.

Metrics

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

Product Status

Vendor Python-Markdown
Product Markdown
Versions Default: unaffected
  • affected from 3.0 to 3.11.2 (incl.)

Credits

  • Anders Kaseorg finder
  • Muhammadyusuf Dilmurodov (agrresore) finder

References

Problem Types

  • Inefficient Algorithmic Complexity CWE