Live threats

All CVEs / Python-markdown

CVE-2025-69534Python-markdown Markdown

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Mar 5, 2026
Updated
Nov 10, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-617
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Markdown.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
python-markdownmarkdown3.8

Official advisories

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.