All reports
Medium

markdown2: markdown2: Denial of Service via crafted Markdown document

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-88753

Probability of exploitation in the next 30 days: 0.39%

FIRST EPSS · 2026-11-23

Description

A Regular-Expression Denial of Service (ReDoS) in the Markdown2. extract_metadata() function (lib/markdown2.py) of trentm markdown2 through v2.5.5 allows attackers to cause a Denial of Service (DoS) via a crafted Markdown document.

A flaw was found in markdown2. In the extract_metadata function, an inefficient regular expression used to parse document metadata can take an exponential amount of time to process. An attacker can exploit this vulnerability by providing a crafted Markdown document, causing excessive resource consumption and leading to a Denial of Service (DoS).