# CVE-2019-25781: Python-Markdown 3.0 through 3.11.2 Denial of Service via Link Bracket Parsing

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-29T13:08:49.597Z
- Modified: 2026-11-03T16:17:15.607Z
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- Python-Markdown Markdown: from 3.0 up to 3.11.2

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/Python-Markdown/markdown/issues/1654> (exploit, issue-tracking)
- <https://github.com/Python-Markdown/markdown/issues/798> (issue-tracking)
- <https://github.com/Python-Markdown/markdown> (product)
- <https://github.com/Python-Markdown/markdown/blob/b41e0aaf1181f1a8cb200cf5a815aad7c0020d23/markdown/inlinepatterns.py#L1155-L1172> (technical-description)
- <https://www.vulncheck.com/advisories/python-markdown-3.0-through-3.11.2-denial-of-service-via-link-bracket-parsing> (third-party-advisory)

## Sources

- CVE List: [CVE-2019-25781](https://www.cve.org/CVERecord?id=CVE-2019-25781), CVE Terms of Use, modified 2026-11-03
- NVD: [CVE-2019-25781](https://nvd.nist.gov/vuln/detail/CVE-2019-25781), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2019-25781 · Whole record: https://cve.day/CVE-2019-25781.json · Rebuilt by cve.day 2026-11-25T22:57:50.468Z
