CVE-2025-69534
HIGH7.5EPSS 0.39%Python-Markdown has an Uncaught Exception
Published: 3/5/2026Modified: 5/21/2026
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.
Affected packages (7)
- Debian/pypy3from 0
- Debian/python2.7from 0
- Debian/python3.11from 0
- Debian/python3.13from 0, < 3.13.4-1
- Debian/python3.9from 0
- PyPI/markdownfrom 0, <= 3.8
- PyPI/markdownfrom 0, < 3.8.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-69534
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-69534
- WEBhttps://github.com/Python-Markdown/markdown
- WEBhttps://github.com/Python-Markdown/markdown/actions/runs/15736122892
- WEBhttps://github.com/Python-Markdown/markdown/issues/1534
- WEBhttps://github.com/Python-Markdown/markdown/pull/1535
- WEBhttp://www.openwall.com/lists/oss-security/2026/03/06/4