Live threats

All CVEs / Markdown2 Project

CVE-2021-26813Markdown2 Project Markdown2

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Mar 3, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

markdown2 >=1.0.1.18, fixed in 2.4.0, is affected by a regular expression denial of service vulnerability. If an attacker provides a malicious string, it can make markdown2 processing difficult or delayed for an extended period of time.

Original NVD text.

What to do

  1. Apply the vendor's security update for Markdown2.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI markdown2 ≥ 1.0.1.18 < 2.4.0 2.4.0 pip install "markdown2>=2.4.0"
PyPI markdown2 ≥ 1.0.1.18 < 2.4.0 2.4.0 pip install "markdown2>=2.4.0"

Per OSV / GitHub Advisories (GHSA-jr9p-r423-9m2r, PYSEC-2021-20). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
markdown2_projectmarkdown2≥ 1.0.1.18 < 2.4.0
fedoraprojectfedora32
fedoraprojectfedora33
fedoraprojectfedora34

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.