cve.bz

CVE-2019-25781 python-markdown markdown: Inefficient Algorithmic Complexity

8.7 highEPSS 0.6%

High (8.7) in python-markdown markdown. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
Python-Markdown 3.0 through 3.11.2 contains an algorithmic complexity vulnerability in inline link parsing that allows remote attackers to exhaust CPU through unmatched brackets. Attackers can submit short Markdown containing repeated [ or ![ characters, forcing LinkInlineProcessor.getText() and getLink() into quadratic scans that keep workers busy for minutes.

Severity

CVSS 4.0

8.7 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

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.6% (up from 0.4% a week ago) estimated probability of exploitation activity in the next 30 days; 51st 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-11-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-407 Inefficient Algorithmic Complexity
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2019-25781 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-25781?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-25781?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-2019-25781 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 CNA's record in the CVE List.

ProductAffected
Python-Markdown Markdownfrom 3.0 through 3.11.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14python-markdownno fix listedDEBIAN-CVE-2019-25781
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 2 morepython-markdownno fix listedUBUNTU-CVE-2019-25781
Azure Linux3python-markdownno fix listedAZL-112457
Azure Linux3tensorflowno fix listedAZL-112517

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as Important because an unauthenticated remote attacker can cause severe service degradation and worker thread exhaustion by submitting minimal payloads with unmatched bracket syntax. Across Red Hat environments, the python-markdown library is integrated into various backend platforms, including Red Hat Ansible Automation Platform, Red Hat Satellite, and OpenShift AI, where it processes formatted text and template data. Systems that expose Markdown rendering endpoints directly to untrusted network traffic are at high risk of denial of service. The impact is substantially lower in deployments where rendering is restricted to verified administrators or internal sources.

ProductPackageStateAdvisory
Red Hat AI Inference Server 3.4rhaii/vllm-cuda-rhel9:1794398074Fixed 2026-11-12RHSA-2026:99787
Red Hat AI Inference Server 3.4rhaii/vllm-cpu-rhel9:1794398071Fixed 2026-11-12RHSA-2026:99792
Red Hat OpenShift AI 2.25rhoai/odh-modelmesh-runtime-adapter-rhel9:1793680511Fixed 2026-11-19RHSA-2026:100634
Red Hat OpenShift AI 3.5rhoai/odh-kserve-storage-initializer-rhel9:1793691340Fixed 2026-11-06RHSA-2026:95872
Red Hat Satellite 6.18satellite/iop-advisor-backend-rhel9:1794498822Fixed 2026-11-13RHSA-2026:100155
Red Hat Satellite 6.19satellite/iop-advisor-backend-rhel9:1794498644Fixed 2026-11-13RHSA-2026:100149
Red Hat AI Inference Serverrhaii-fast/vllm-cpu-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-cuda-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-gaudi-rhel9Affected
Red Hat AI Inference Serverrhaii/vllm-gaudi-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/controller-rhel8Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/controller-rhel8Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/controller-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/hub-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/controller-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/hub-rhel9Affected
Red Hat Ansible Automation Platform 2automation-controllerFix deferred
Red Hat Ansible Automation Platform 2python3.11-markdownAffected
Red Hat Ansible Automation Platform 2python3.12-markdownFix deferred
Red Hat Ansible Automation Platform 2python-markdownFix deferred
46 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-2019-25781.

References

Check your stackJSON