CVE-2025-69534
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.
What to do
Fixed builds are available from AlmaLinux, Debian, PyPI, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | pypy3 | Fix pending | UBUNTU-CVE-2025-69534 | |
| Ubuntu 26.04 | pypy3 | Under investigation | UBUNTU-CVE-2025-69534 | |
| Ubuntu 26.04 | python3.14 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | pypy3 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-69534 | |
| Ubuntu 25.10 | python3.13 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | python3.14 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | pypy3 | Under investigation | UBUNTU-CVE-2025-69534 | |
| Ubuntu 24.04 | python3.12 | Fixed | 3.12.3-1ubuntu0.15 | UBUNTU-CVE-2025-69534 |
| Ubuntu 22.04 | pypy3 | Under investigation | UBUNTU-CVE-2025-69534 | |
| Ubuntu 22.04 | python3.10 | Fixed | 3.10.12-1~22.04.16 | UBUNTU-CVE-2025-69534 |
| Ubuntu 22.04 | python3.11 | Fix pending | UBUNTU-CVE-2025-69534 | |
| Ubuntu 20.04 | pypy3 | Fix pending | UBUNTU-CVE-2025-69534 | |
| Ubuntu 20.04 | python2.7 | Fix pending | UBUNTU-CVE-2025-69534 | |
| Ubuntu 20.04 | python3.8 | Fix pending | UBUNTU-CVE-2025-69534 | |
| Ubuntu 20.04 | python3.9 | Fix pending | UBUNTU-CVE-2025-69534 | |
| Ubuntu 18.04 | python2.7 | Fix pending | UBUNTU-CVE-2025-69534 | |
| Ubuntu 18.04 | python3.6 | Fix pending | UBUNTU-CVE-2025-69534 | |
| Ubuntu 18.04 | python3.7 | Fix pending | UBUNTU-CVE-2025-69534 | |
| Ubuntu 18.04 | python3.8 | Fix pending | UBUNTU-CVE-2025-69534 | |
| Ubuntu 16.04 | python2.7 | Fix pending | 2.7.12-1ubuntu0~16.04.18+esm21 (Ubuntu Pro) | UBUNTU-CVE-2025-69534 |
| Ubuntu 16.04 | python3.5 | Fix pending | 3.5.2-2ubuntu0~16.04.13+esm24 (Ubuntu Pro) | UBUNTU-CVE-2025-69534 |
| Ubuntu 14.04 | python2.7 | Fix pending | UBUNTU-CVE-2025-69534 | |
| Ubuntu 14.04 | python3.4 | Fix pending | UBUNTU-CVE-2025-69534 | |
| Ubuntu 14.04 | python3.5 | Fix pending | UBUNTU-CVE-2025-69534 | |
| Debian 14 | pypy3 | Fixed | 8.0.0+dfsg-1 | DEBIAN-CVE-2025-69534 |
| Debian 13 | pypy3 | Fix pending | DEBIAN-CVE-2025-69534 | |
| Debian 13 | python3.13 | Fixed | 3.13.4-1 | DEBIAN-CVE-2025-69534 |
| Debian 12 | pypy3 | Fix pending | DEBIAN-CVE-2025-69534 | |
| Debian 12 | python3.11 | Fixed | 3.11.2-6+deb12u9 | DEBIAN-CVE-2025-69534 |
| Red Hat Enterprise Linux 10 | python-markdown | Fixed | 0:3.5.1-6.el10_2.1 | RHSA-2026:19155 |
| Red Hat Enterprise Linux 10 | python3-markdown | Fixed | 0:3.5.1-6.el10_2.1 | RHSA-2026:19155 |
| Red Hat Enterprise Linux 9 | python-markdown | Fixed | 0:3.3.4-4.el9_8.2 | RHSA-2026:19366 |
| Red Hat Enterprise Linux 9 | python3-markdown | Fixed | 0:3.3.4-4.el9_8.2 | RHSA-2026:19366 |
| Red Hat Enterprise Linux 8 | python3-markdown | Not affected | ||
| Red Hat Enterprise Linux 6 | python-markdown | Not affected | ||
| AlmaLinux 10 | python3-markdown | Fixed | 3.5.1-6.el10_2.1 | ALSA-2026:19155 |
| AlmaLinux 9 | python3-markdown | Fixed | 3.3.4-4.el9_8.2 | ALSA-2026:19366 |
| Rocky Linux 10 | python-markdown | Fixed | 0:3.5.1-6.el10_2.1 | RLSA-2026:19155 |
| Rocky Linux 9 | python-markdown | Fixed | 0:3.3.4-4.el9_8.2 | RLSA-2026:19366 |
| PyPI library | markdown | Fixed | 3.8.1 | PYSEC-2026-89 |
References
- https://github.com/Python-Markdown/markdown/issues/1534
- https://github.com/Python-Markdown/markdown
- https://github.com/Python-Markdown/markdown/actions/runs/15736122892
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.