# CVE-2025-69534: Python-Markdown has an Uncaught Exception

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.14% (percentile 66, 2026-11-26)
- **CWE:** CWE-400, CWE-617
- **Aliases:** GHSA-5wmx-573v-2qwq, PYSEC-2026-89
- **Published:** 2026-03-05T00:00:00.000Z
- **Modified:** 2026-11-10T13:18:02.623Z

## Who should check

- Projects that depend on PyPI package markdown (\< 3.8.1)
- Anyone running n/a (versions: see the vendor advisory)
- Anyone running Red Hat Ansible Automation Platform 2.5 for RHEL 8 all versions
- Anyone running Red Hat Ansible Automation Platform 2.5 for RHEL 9 all versions
- Anyone running Red Hat Ansible Automation Platform 2.6 for RHEL 9 all versions
- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 10.0 Extended Update Support all versions
- Anyone running Red Hat Enterprise Linux 9 all versions

## 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 and fixed versions

- PyPI `markdown`: affected \< 3.8.1; fixed 3.8.1 (osv)
- n/a: see vendor advisory (nvd)
- Red Hat Ansible Automation Platform 2.5 for RHEL 8: all versions (nvd)
- Red Hat Ansible Automation Platform 2.5 for RHEL 9: all versions (nvd)
- Red Hat Ansible Automation Platform 2.6 for RHEL 9: all versions (nvd)
- Red Hat Ansible Automation Platform 2.6 for RHEL 9: all versions (nvd)
- Red Hat Enterprise Linux 10: all versions (nvd)
- Red Hat Enterprise Linux 10.0 Extended Update Support: all versions (nvd)
- Red Hat Enterprise Linux 9: all versions (nvd)
- Red Hat Enterprise Linux 9.4 Extended Update Support: all versions (nvd)
- Red Hat Enterprise Linux 9.6 Extended Update Support: all versions (nvd)
- Red Hat Satellite 6.16 for RHEL 8: all versions (nvd)
- Red Hat Satellite 6.16 for RHEL 9: all versions (nvd)
- Red Hat Satellite 6.17 for RHEL 9: all versions (nvd)
- Red Hat Satellite 6.18 for RHEL 9: all versions (nvd)
- Red Hat Developer Hub 1.8: all versions (nvd)
- Red Hat Developer Hub 1.9: all versions (nvd)
- Red Hat OpenShift AI 2.25: all versions (nvd)
- Red Hat OpenShift AI 2.25: all versions (nvd)
- Red Hat OpenShift AI 2.25: all versions (nvd)
- External Secrets Operator for Red Hat OpenShift: see vendor advisory (nvd)
- External Secrets Operator for Red Hat OpenShift: see vendor advisory (nvd)
- External Secrets Operator for Red Hat OpenShift: see vendor advisory (nvd)
- External Secrets Operator for Red Hat OpenShift: see vendor advisory (nvd)
- Red Hat Multicluster Engine for Kubernetes: see vendor advisory (nvd)
- Red Hat Multicluster Engine for Kubernetes: see vendor advisory (nvd)
- Red Hat Multicluster Engine for Kubernetes: see vendor advisory (nvd)
- Red Hat Multicluster Engine for Kubernetes: see vendor advisory (nvd)
- Red Hat Multicluster Engine for Kubernetes: see vendor advisory (nvd)
- Red Hat Ansible Automation Platform 2: all versions (nvd)
- Red Hat Ansible Automation Platform 2: see vendor advisory (nvd)
- Red Hat Ansible Automation Platform 2: see vendor advisory (nvd)
- Red Hat Enterprise Linux 6: see vendor advisory (nvd)
- Red Hat Enterprise Linux 8: see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): all versions (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): all versions (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): all versions (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (nvd)
- Red Hat OpenShift Container Platform 4: see vendor advisory (nvd)
- Red Hat OpenShift Container Platform 4: see vendor advisory (nvd)
- Red Hat OpenShift Dev Spaces: see vendor advisory (nvd)
- Red Hat Satellite 6: all versions (nvd)
- Red Hat Satellite 6: see vendor advisory (nvd)
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0): \>= V3.1.7, \< \* (nvd)
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0): \>= V3.1.7, \< \* (nvd)
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0): \>= V3.1.7, \< \* (nvd)
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0): \>= V3.1.7, \< \* (nvd)
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0): \>= V3.1.7, \< \* (nvd)

## Mitigation

- Upgrade markdown to 3.8.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-69534. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-69534.md
Affected: markdown < 3.8.1
Fixed in: 3.8.1

Steps:
1. Search this machine and project for markdown (PyPI), n/a, Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9, Red Hat Ansible Automation Platform 2.6 for RHEL 9, Red Hat Enterprise Linux 10: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-69534 being exploited?

There is no confirmed exploitation: CVE-2025-69534 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.14% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-69534?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-69534?

markdown \< 3.8.1.

### Is there a fix for CVE-2025-69534?

Yes. Fixed in 3.8.1. Upgrade markdown to 3.8.1 or later.

### How do I check if I'm affected by CVE-2025-69534?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <http://www.openwall.com/lists/oss-security/2026/03/06/4>
- vendor: <https://access.redhat.com/errata/RHSA-2026:13512>
- vendor: <https://access.redhat.com/errata/RHSA-2026:14874>
- vendor: <https://access.redhat.com/errata/RHSA-2026:13508>
- vendor: <https://access.redhat.com/errata/RHSA-2026:14873>
- vendor: <https://access.redhat.com/errata/RHSA-2026:14835>
- vendor: <https://access.redhat.com/errata/RHSA-2026:20677>
- vendor: <https://access.redhat.com/errata/RHSA-2026:19155>
- vendor: <https://access.redhat.com/errata/RHSA-2026:20674>
- vendor: <https://access.redhat.com/errata/RHSA-2026:20676>
- vendor: <https://access.redhat.com/errata/RHSA-2026:19366>
- vendor: <https://access.redhat.com/errata/RHSA-2026:9742>
- vendor: <https://access.redhat.com/errata/RHSA-2026:13826>
- vendor: <https://access.redhat.com/errata/RHSA-2026:10184>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-69534>
- vendor: <https://github.com/advisories/GHSA-5wmx-573v-2qwq>
- patch: <https://github.com/Python-Markdown/markdown/pull/1535>
- exploit: <https://github.com/Python-Markdown/markdown/issues/1534>
- other: <https://github.com/Python-Markdown/markdown>
- other: <https://github.com/Python-Markdown/markdown/actions/runs/15736122892>
- other: <https://access.redhat.com/security/cve/CVE-2025-69534>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2444839>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-69534.json>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/markdown/PYSEC-2026-89.yaml>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-69534>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-5wmx-573v-2qwq> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-89> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-69534> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-69534>
