cve.bz

CVE-2025-69534 python-markdown markdown: Uncontrolled Resource Consumption

7.5 highExploit referenceEPSS 0.7%Fix available

High (7.5) in python-markdown markdown. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in markdown 3.8.1.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-03-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-617 Reachable Assertion
Published
Modified
Assigned by
mitre (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-69534 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-69534?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-69534?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-69534 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python-markdown:markdown3.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5wmx-573v-2qwqPyPImarkdown<3.8.13.8.1
PYSEC-2026-89PyPImarkdown<=3.8no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12python3.113.11.2-6+deb12u9DEBIAN-CVE-2025-69534 DLA-4827-1
Debian12, 13pypy3no fix listedDEBIAN-CVE-2025-69534
Debian13python3.133.13.4-1DEBIAN-CVE-2025-69534
Debian14pypy38.0.0+dfsg-1DEBIAN-CVE-2025-69534
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morepypy3no fix listedUBUNTU-CVE-2025-69534
Ubuntu22.04:LTSpython3.103.10.12-1~22.04.16UBUNTU-CVE-2025-69534 USN-8509-1
Ubuntu24.04:LTSpython3.123.12.3-1ubuntu0.15UBUNTU-CVE-2025-69534 USN-8509-1
Ubuntu26.04:LTSpython3.143.14.4-1ubuntu0.1USN-8509-1
UbuntuPro:14.04:LTSpython2.7, python3.4, python3.5no fix listedUBUNTU-CVE-2025-69534
UbuntuPro:16.04:LTSpython2.72.7.12-1ubuntu0~16.04.18+esm21UBUNTU-CVE-2025-69534 USN-8614-1
UbuntuPro:16.04:LTSpython3.53.5.2-2ubuntu0~16.04.13+esm24UBUNTU-CVE-2025-69534 USN-8614-1
UbuntuPro:18.04:LTSpython2.7, python3.6, python3.7 and 1 moreno fix listedUBUNTU-CVE-2025-69534
UbuntuPro:20.04:LTSpython2.7, python3.8, python3.9no fix listedUBUNTU-CVE-2025-69534
UbuntuPro:22.04:LTSpython3.11no fix listedUBUNTU-CVE-2025-69534
Red Hatansible_automation_platform:2.5::el8automation-controller-venv-tower0:4.6.28-3.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8automation-gateway-proxy, automation-gateway-proxy-server, automation-gateway-proxy-debugsource and 1 more0:2.5.10-5.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8automation-gateway-server, python3.12-django-ansible-base, python3.12-django-ansible-base+rbac and 9 more0:2.5.20260422-2.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-jwcrypto0:1.5.7-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-markdown0:3.10.2-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-pyOpenSSL0:26.0.0-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-pyasn10:0.6.3-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-pyjwt, python3.12-pyjwt+crypto0:2.12.1-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8receptor0:1.6.4-2.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el9automation-controller-venv-tower0:4.6.28-3.el9apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el9automation-gateway-proxy, automation-gateway-proxy-server, automation-gateway-proxy-debugsource and 1 more0:2.6.14-2.el9RHSA-2026:13512
Red Hatansible_automation_platform:2.5::el9automation-gateway-server, python3.12-django-ansible-base, python3.12-django-ansible-base+rbac and 9 more0:2.5.20260422-2.el9apRHSA-2026:13512
43 more for Red Hat in the JSON and on Red Hat's page.
openSUSELeap 15.6python-Markdown3.5.2-150600.3.3.1SUSE-SU-2026:0846-1
AlmaLinux9python3-markdown3.3.4-4.el9_8.2ALSA-2026:19366
AlmaLinux10python3-markdown3.5.1-6.el10_2.1ALSA-2026:19155
Rocky Linux9python-markdown0:3.3.4-4.el9_8.2RLSA-2026:19366
Rocky Linux10python-markdown0:3.5.1-6.el10_2.1RLSA-2026:19155
Alpaquita23python33.11.13-r4BELL-CVE-2025-69534
BellSoft Hardened Containers23python33.11.13-r4BELL-CVE-2025-69534

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

To exploit this flaw, an attacker must be able to supply a specially crafted payload to be processed by an application using Python-Markdown. Additionally, the security impact of this vulnerability is limited to an information disclosure via the unhandled exception stack trace and a denial of service. There is no memory corruption or arbitrary command execution. Due to these reasons, this issue has been rated with an important severity.

Red Hat's mitigation

To mitigate this vulnerability, wrap your markdown parsing function in a try/except block. This catches the unhandled exception, preventing both the application crash and the stack trace leak.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.5 for RHEL 8python3.12-markdown-0:3.10.2-1.el8apFixed 2026-05-04RHSA-2026:13512
Red Hat Ansible Automation Platform 2.5 for RHEL 9python3.12-markdown-0:3.10.2-1.el9apFixed 2026-05-04RHSA-2026:13512
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-controller-0:4.7.11-2.el9apFixed 2026-05-04RHSA-2026:13508
Red Hat Ansible Automation Platform 2.6 for RHEL 9python3.12-markdown-0:3.10.2-1.el9apFixed 2026-05-04RHSA-2026:13508
Red Hat Enterprise Linux 10python-markdown-0:3.5.1-6.el10_2.1Fixed 2026-05-19RHSA-2026:19155
Red Hat Enterprise Linux 10.0 Extended Update Supportpython-markdown-0:3.5.1-6.el10_0.1Fixed 2026-05-26RHSA-2026:20677
Red Hat Enterprise Linux 9python-markdown-0:3.3.4-4.el9_8.2Fixed 2026-05-19RHSA-2026:19366
Red Hat Enterprise Linux 9.4 Extended Update Supportpython-markdown-0:3.3.4-4.el9_4.2Fixed 2026-05-26RHSA-2026:20674
Red Hat Enterprise Linux 9.6 Extended Update Supportpython-markdown-0:3.3.4-4.el9_6.2Fixed 2026-05-26RHSA-2026:20676
Red Hat Satellite 6.16 for RHEL 8python-markdown-0:3.8.2-1.el8pcFixed 2026-05-07RHSA-2026:14874
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/bitwarden-sdk-server-rhel9Not affected
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/external-secrets-operator-bundleNot affected
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/external-secrets-operator-rhel9Not affected
External Secrets Operator for Red Hat OpenShiftexternal-secrets-operator/external-secrets-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-agent-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-controller-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-service-8-rhel8Not affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-service-9-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/controller-rhel9Affected
38 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-69534.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-295-11Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-10-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON