{"id":"CVE-2026-118694","summary":"python-markdown2 through 2.5.5 Denial of Service via Unclosed Inline Link Destinations","details":"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 '![a](' sequences, causing _find_balanced to rescan the remaining document for each link and consume quadratic CPU time.","modified":"2026-11-05T17:27:04.141748124Z","published":"2026-10-28T21:11:20.814Z","related":["openSUSE-SU-2026:12422-1"],"database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-407"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118694.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118694.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118694"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/python-markdown2-through-2.5.5-denial-of-service-via-unclosed-inline-link-destinations"},{"type":"REPORT","url":"https://github.com/trentm/python-markdown2/issues/750"},{"type":"FIX","url":"https://github.com/trentm/python-markdown2/pull/751"},{"type":"PACKAGE","url":"https://github.com/trentm/python-markdown2"},{"type":"ARTICLE","url":"https://github.com/trentm/python-markdown2/blob/2.5.5/lib/markdown2.py#L1478-L1492"},{"type":"ARTICLE","url":"https://github.com/trentm/python-markdown2/blob/2.5.5/lib/markdown2.py#L3029"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/trentm/python-markdown2","events":[{"introduced":"0"},{"last_affected":"150454e3ba02caa3994d19cb5a8344fc92f3ce13"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"2.5.5"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"DESCRIPTION","range":[{"introduced":"2"},{"last_affected":"2.5.5"}]}]}}],"versions":["2.5.5","2.5.4","2.5.3","2.5.2","2.5.1","2.5.0","2.4.13","2.4.12","2.4.11","2.4.10","2.4.9","2.4.8","2.4.7","2.4.6","2.4.5","2.4.4","2.4.3","2.4.2","2.4.1","2.4.0","2.3.10","2.3.9","2.3.8","2.3.7","2.3.6","2.3.5","2.3.4","2.3.3","2.3.2","2.3.1","2.3.0","2.2.3","2.2.2","2.2.1","2.2.0","2.1.0","2.0.1","2.0.0","1.4.2","1.4.1","1.4.0","1.3.1","1.3.0","1.2.0","1.1.1","1.1.0","1.0.1.19","1.0.1.18"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118694.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}