CVE-2025-69534: in Python-Markdown

Published Mar 5, 2026
·
Updated

Python-Markdown version 3.8 contain a vulnerability where malformed HTML-like sequences can cause html.parser.HTMLParser to raise an unhandled AssertionError during Markdown parsing. Because Python-Markdown does not catch this exception, any application that processes attacker-controlled Markdown may crash. This enables remote, unauthenticated Denial of Service in web applications, documentation systems, CI/CD pipelines, and any service that renders untrusted Markdown. The issue was acknowledged by the vendor and fixed in version 3.8.1. This issue causes a remote Denial of Service in any application parsing untrusted Markdown, and can lead to Information Disclosure through uncaught exceptions.

Affected Software

14 affected componentsFixes available
pypi/markdown=3.8
pip/markdown<3.8.1
3.8.1
IBM Cognos Analytics<=12.0.4 - 12.0.4 FP2
IBM Cognos Analytics<=12.1.0 - 12.1.3 FP1
Python-Markdown Markdown Python=3.8
debian/pypy3*
debian/pypy3*
debian/pypy3<8.0.0+dfsg-1
8.0.0+dfsg-1
debian/python3.11<3.11.2-6+deb12u9
3.11.2-6+deb12u9
debian/python3.13<3.13.4-1
3.13.4-1
debian/pypy3<=7.3.11+dfsg-2+deb12u3, <=7.3.19+dfsg-2
8.0.1+dfsg-1
debian/python3.11<=3.11.2-6+deb12u8
3.11.2-6+deb12u9
debian/python3.13
3.13.5-2+deb13u53.13.18-1
debian/python3.14
3.14.10-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/Markdown to a version that resolves this vulnerability.

    Fixed in 3.8.1
  2. Upgrade

    Upgrade debian/pypy3 to a version that resolves this vulnerability.

    Fixed in 8.0.0+dfsg-1
  3. Upgrade

    Upgrade debian/python3.11 to a version that resolves this vulnerability.

    Fixed in 3.11.2-6+deb12u9
  4. Upgrade

    Upgrade debian/python3.13 to a version that resolves this vulnerability.

    Fixed in 3.13.4-1
  5. Upgrade

    Upgrade debian/pypy3 to a version that resolves this vulnerability.

    Fixed in 8.0.1+dfsg-1
  6. Upgrade

    Upgrade debian/python3.13 to a version that resolves this vulnerability.

    Fixed in 3.13.5-2+deb13u5Fixed in 3.13.18-1
  7. Upgrade

    Upgrade debian/python3.14 to a version that resolves this vulnerability.

    Fixed in 3.14.10-1
  8. Upgrade

    Upgrade Python-Markdown to a version that resolves this vulnerability.

    Fixed in 3.8.1

Event History

Mar 5, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·03:16 PM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·03:30 PM
Data Sourced
via GitHub·03:30 PM
DescriptionWeaknessAffected Software
Data Sourced
via Red Hat·04:01 PM
DescriptionSeverityAffected Software
Sep 11, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-69534?

CVE-2025-69534 has been identified as a critical vulnerability due to the potential for triggering an unhandled AssertionError, which can lead to application crashes.

2

How do I fix CVE-2025-69534?

To mitigate CVE-2025-69534, upgrade Python-Markdown to version 3.8.1 or later.

3

What causes CVE-2025-69534?

CVE-2025-69534 is caused by malformed HTML-like sequences that the html.parser.HTMLParser cannot handle properly.

4

Which versions of Python-Markdown are affected by CVE-2025-69534?

CVE-2025-69534 affects Python-Markdown version 3.8 specifically.

5

What impact does CVE-2025-69534 have on applications?

Applications that utilize Python-Markdown for parsing malformed markdown could experience crashes due to unhandled exceptions.

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