CVE-2026-118694: python-markdown2 through 2.5.5 Denial of Service via Unclosed Inline Link Destinations

Published Oct 28, 2026
·
Updated

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 findbalanced to rescan the remaining document for each link and consume quadratic CPU time.

Affected Software

1 affected component
pypi/python-markdown2<=2.5.5

Event History

Oct 28, 2026
CVE Published
via MITRE·09:11 PM
Data Sourced
via MITRE·09:11 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this denial-of-service issue?

Applications using python-markdown2 through version 2.5.5 are exposed when remote users can submit Markdown that the application processes. The issue can be triggered over the network without authentication or user interaction.

2

What input is required to trigger the issue?

An attacker can submit Markdown containing repeated unclosed inline link prefixes such as "[a](" or image-link prefixes such as "![a](". Processing this input causes repeated rescanning of the remaining document and quadratic CPU consumption.

3

What is the impact of a successful attack?

The vulnerability exhausts CPU while parsing crafted Markdown, which can make the affected application unavailable. The provided impact assessment indicates availability impact only, with no stated confidentiality or integrity impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203