CVE-2021-26813Markdown2 Project Markdown2
High 7.5 No auth needed
Follow: this CVE · Markdown2 Project · Markdown2 Project Markdown2 We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Markdown2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| markdown2_project | markdown2 | ≥ 1.0.1.18 < 2.4.0 |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
Official advisories
- python313-markdown2-2.5.5-1.3 on GA media · SUSE · openSUSE-SU-2026:12016-1 · Oct 4, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org