CVE-2025-69534
Description
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.
How to fix
- markdown3.8.1 or later
- access.redhat.com/errata/RHSA-2026:13512
- access.redhat.com/errata/RHSA-2026:14874
- access.redhat.com/errata/RHSA-2026:13508
- access.redhat.com/errata/RHSA-2026:14873
- access.redhat.com/errata/RHSA-2026:14835
- access.redhat.com/errata/RHSA-2026:20677
- access.redhat.com/errata/RHSA-2026:19155
- access.redhat.com/errata/RHSA-2026:20674
- access.redhat.com/errata/RHSA-2026:20676
- access.redhat.com/errata/RHSA-2026:19366
- access.redhat.com/errata/RHSA-2026:9742
- access.redhat.com/errata/RHSA-2026:13826
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| python-markdown markdown | 3.8 | — |
| markdownPyPI | v < 3.8.1, v ≤ 3.8 | 3.8.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.