Description
python-markdown2 through 2.5.5 contains a denial of service vulnerability that allows remote users to exhaust CPU by submitting Markdown with unclosed inline link destinations. Attackers can submit repeated '[a](' or '
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-407 — Inefficient Algorithmic Complexity
Affected products
| Vendor | Product | Versions |
|---|---|---|
| trentm | python-markdown2 | 0 to <=2.5.5 [affected] |
References
- https://github.com/trentm/python-markdown2/issues/750 (issue-tracking)
- https://github.com/trentm/python-markdown2 (product)
- https://github.com/trentm/python-markdown2/blob/2.5.5/lib/markdown2.py#L1478-L1492 (technical-description)
- https://github.com/trentm/python-markdown2/blob/2.5.5/lib/markdown2.py#L3029 (technical-description)
- https://github.com/trentm/python-markdown2/pull/751 (patch issue-tracking)
- https://www.vulncheck.com/advisories/python-markdown2-through-2.5.5-denial-of-service-via-unclosed-inline-link-destinations (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 29 Oct 2026 07:02 UTC.