Unchecked Input for Loop Condition Affecting python-markdown package, versions <0:3.5.1-7.el10_3.1


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.62% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-PYTHONMARKDOWN-23304075
  • published2 Dec 2026
  • disclosed1 Jan 2019

Introduced: 1 Jan 2019

CVE-2019-25781  (opens in a new tab)
CWE-606  (opens in a new tab)

How to fix?

Upgrade RHEL:10 python-markdown to version 0:3.5.1-7.el10_3.1 or higher.
This issue was patched in RHSA-2026:106007.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-markdown package and not the python-markdown package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1