{"id":"CVE-2019-25781","aliases":["CVE-2019-25781"],"related":[],"kind":"vulnerability","state":"published","title":"Python-Markdown 3.0 through 3.11.2 Denial of Service via Link Bracket Parsing","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-29T13:08:49.597Z","modified":"2026-11-03T16:17:15.607Z","severity":{"scorer":"VulnCheck","scheme":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"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","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-407"],"affected":[{"ranges":[{"type":"custom","introduced":"3.0","lastAffected":"3.11.2","status":"affected"}],"vendor":"Python-Markdown","product":"Markdown","repo":"https://github.com/Python-Markdown/markdown","source":"cvelist"}],"references":[{"url":"https://github.com/Python-Markdown/markdown/issues/798","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Python-Markdown/markdown","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Python-Markdown/markdown/issues/1654","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Python-Markdown/markdown/blob/b41e0aaf1181f1a8cb200cf5a815aad7c0020d23/markdown/inlinepatterns.py#L1155-L1172","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/python-markdown-3.0-through-3.11.2-denial-of-service-via-link-bracket-parsing","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Anders Kaseorg","Muhammadyusuf Dilmurodov (agrresore)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-11-03T15:29:12.767Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-25781","url":"https://www.cve.org/CVERecord?id=CVE-2019-25781","licence":"CVE Terms of Use","modified":"2026-11-03T15:29:33.399Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-25781","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25781","licence":"Public domain","modified":"2026-11-03T16:17:15.607Z"}],"updatedAt":"2026-11-25T22:57:50.468Z","epss":{"score":0.00618,"percentile":0.50942,"date":"2026-12-01T12:00:22.000Z"}}