Critical Security Update for python-markdown: Denial of Service Vulnerability

python3-markdown Updated 26 May 2026

Summary

19/05/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:19155: Important: python-markdown security update. Affects python3-markdown versions < 3.5.1-6.el10_2.1. Fixed in 3.5.1-6.el10_2.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Python-markdown is a widely used library for converting Markdown text to HTML. It is an interpreted, interactive, object-oriented programming language that supports dynamic data types and typing. The library is essential for applications that require text formatting and web content generation. However, it has been found to be vulnerable to a denial of service attack when processing malformed HTML-like sequences.

Vulnerability Detail

The vulnerability identified as CVE-2025-69534 allows an attacker to exploit python-markdown by sending specially crafted input that can lead to a denial of service. This occurs when the library encounters malformed HTML-like sequences, causing it to hang or crash. The ramifications of this vulnerability can be significant, especially for web applications relying on markdown processing, as it could lead to service interruptions and degraded user experience.

How To Fix

Minimum fixed version

3.5.1-6.el10_2.1

This is the first release that contains the fix.

sudo dnf update python3-markdown

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate updating is not feasible, consider implementing input validation to filter out potentially malicious markdown content. This can help mitigate the risk of denial of service attacks until the package is updated.

Conclusion

The python-markdown library has a critical vulnerability that can lead to denial of service attacks. It is essential to update to the latest patched version to safeguard your applications. Implementing input validation can serve as a temporary workaround until the update is applied.

See every vulnerability recorded for python3-markdown →

Share this vulnerability

FAQ

The vulnerability allows for denial of service attacks through malformed HTML-like sequences, which can cause the library to hang or crash.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The potential impacts include service interruptions and degraded user experience for applications relying on markdown processing.

Yes, a patch is available in version 3.5.1-6.el10_2.1 of the python3-markdown package.

Implement input validation to filter out potentially malicious markdown content as a temporary measure until you can update the package.

Related vulnerabilities

Recent vulnerabilities recorded for python3-markdown.

How To Fix

Minimum fixed version

3.5.1-6.el10_2.1

This is the first release that contains the fix.

sudo dnf update python3-markdown

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback