{"id":"CVE-2019-25781","published":"2026-10-29T14:17:39.170","lastModified":"2026-10-29T16:19:37.750","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.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwes":["CWE-407"],"vendors":[],"products":[],"references":[{"url":"https://github.com/Python-Markdown/markdown","tags":[]},{"url":"https://github.com/Python-Markdown/markdown/blob/b41e0aaf1181f1a8cb200cf5a815aad7c0020d23/markdown/inlinepatterns.py#L1155-L1172","tags":[]},{"url":"https://github.com/Python-Markdown/markdown/issues/1654","tags":[]},{"url":"https://github.com/Python-Markdown/markdown/issues/798","tags":[]},{"url":"https://www.vulncheck.com/advisories/python-markdown-3.0-through-3.11.2-denial-of-service-via-link-bracket-parsing","tags":[]}],"exploitRefs":[{"url":"https://github.com/Python-Markdown/markdown","tags":[]},{"url":"https://github.com/Python-Markdown/markdown/blob/b41e0aaf1181f1a8cb200cf5a815aad7c0020d23/markdown/inlinepatterns.py#L1155-L1172","tags":[]},{"url":"https://github.com/Python-Markdown/markdown/issues/1654","tags":[]},{"url":"https://github.com/Python-Markdown/markdown/issues/798","tags":[]}],"hasPoc":true,"ai":null}