CVE-2025-69534Python-markdown Markdown
High 7.5 No auth needed
Follow: this CVE · Python-markdown · Python-markdown Markdown We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Mar 5, 2026
- Updated
- Nov 10, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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
- Apply the vendor's security update for Markdown.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | markdown |
< 3.8.1 |
3.8.1 |
pip install "markdown>=3.8.1" |
| PyPI | markdown |
≤ 3.8 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-5wmx-573v-2qwq, PYSEC-2026-89). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python-markdown | markdown | 3.8 |
Official advisories
- Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.7 · Siemens · SSA-457936 · Oct 13, 2026 Critical
- Red Hat Security Advisory: python-markdown security update · Red Hat · RHSA-2026:20677 · May 26, 2026 High
- Red Hat Security Advisory: python-markdown security update · Red Hat · RHSA-2026:20674 · May 26, 2026 High
- Red Hat Security Advisory: python-markdown security update · Red Hat · RHSA-2026:20676 · May 26, 2026 High
- Security update for python-Markdown · SUSE · SUSE-SU-2026:0846-1 · Mar 6, 2026 High
Also: Red Hat (+7)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Product
- github.com Exploit Issue Tracking
- www.openwall.com Mailing List Third Party Advisory
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- cert-portal.siemens.com
- security.access.redhat.com