UBUNTU-CVE-2026-118694: Ubuntu/python-markdown2 vulnerability

Published Oct 29, 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

5 affected components
ubuntu/python-markdown2*
ubuntu/python-markdown2*
ubuntu/python-markdown2*
ubuntu/python-markdown2*
ubuntu/python-markdown2*

Event History

Oct 29, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What input must an attacker be able to provide to trigger the issue?

An attacker needs to be able to submit Markdown that the application processes with python-markdown2. Repeated unclosed inline link patterns such as "[a](" or "![a](" trigger repeated rescanning and quadratic CPU consumption.

2

What is the practical impact?

The issue is a denial of service through CPU exhaustion. Processing specially crafted Markdown can consume quadratic CPU time, potentially making the affected application slow or unavailable while the input is handled.

3

Which versions are affected?

python-markdown2 versions through 2.5.5 are affected according to the available information.

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