Ubuntu CVE Tracker
UBUNTU-CVE-2025-69534
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:14.04:LTS | python3.4 | All versions, no fix listed |
| Ubuntu:Pro:14.04:LTS | python3.5 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | python2.7 | All versions before 2.7.12-1ubuntu0~16.04.18+esm21 (fixed in 2.7.12-1ubuntu0~16.04.18+esm21) |
| Ubuntu:Pro:16.04:LTS | python3.5 | All versions before 3.5.2-2ubuntu0~16.04.13+esm24 (fixed in 3.5.2-2ubuntu0~16.04.13+esm24) |
| Ubuntu:Pro:18.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.6 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.7 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.8 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | python3.8 | All versions, no fix listed |
| Ubuntu:20.04:LTS | pypy3 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | python3.9 | All versions, no fix listed |
| Ubuntu:22.04:LTS | pypy3 | All versions, no fix listed |
| Ubuntu:22.04:LTS | python3.10 | All versions before 3.10.12-1~22.04.16 (fixed in 3.10.12-1~22.04.16) |
| Ubuntu:Pro:22.04:LTS | python3.11 | All versions, no fix listed |
| Ubuntu:24.04:LTS | pypy3 | All versions, no fix listed |
| Ubuntu:24.04:LTS | python3.12 | All versions before 3.12.3-1ubuntu0.15 (fixed in 3.12.3-1ubuntu0.15) |
| Ubuntu:25.10 | pypy3 | All versions, no fix listed |
| Ubuntu:26.10 | pypy3 | All versions, no fix listed |
| Ubuntu:26.04:LTS | pypy3 | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2025-69534
- https://www.cve.org/CVERecord?id=CVE-2025-69534
- https://github.com/Python-Markdown/markdown
- https://github.com/Python-Markdown/markdown/actions/runs/15736122892
- https://github.com/python/cpython/pull/133834/changes/4fb000658ea11daf9b196c03c8d61908367e474e
- https://ubuntu.com/security/notices/USN-8509-1
- https://ubuntu.com/security/notices/USN-8614-1