{"id":"CVE-2026-118694","revision":"bee8b7ad3925483da90afbd4ba9a54b8","records":[{"revision":"bee8b7ad3925483da90afbd4ba9a54b8","observedAt":"2026-10-29T19:28:49.708+00:00","statement":{"source":"cve-program","id":"CVE-2026-118694","aliases":[],"title":"python-markdown2 through 2.5.5 Denial of Service via Unclosed Inline Link Destinations","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 '![a](' sequences, causing _find_balanced to rescan the remaining document for each link and consume quadratic CPU time.","state":0,"publishedAt":"2026-10-28T21:11:20.814+00:00","modifiedAt":"2026-10-29T17:22:18.429+00:00","affected":[{"ecosystem":"Vendor product","name":"python-markdown2","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"trentm\",\n                    \"product\": \"python-markdown2\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:pypi/markdown2\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"2.5.5\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"custom\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"},{"system":"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,"severity":"HIGH"}],"references":["https://github.com/trentm/python-markdown2/issues/750","https://github.com/trentm/python-markdown2","https://github.com/trentm/python-markdown2/blob/2.5.5/lib/markdown2.py#L1478-L1492","https://github.com/trentm/python-markdown2/blob/2.5.5/lib/markdown2.py#L3029","https://github.com/trentm/python-markdown2/pull/751","https://www.vulncheck.com/advisories/python-markdown2-through-2.5.5-denial-of-service-via-unclosed-inline-link-destinations"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-118694","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-118694","identifiers":["CVE-2026-118694"]},"retained":false,"historicalAffected":[]}],"coverage":[]}