Skip to content
OpenAdvisories
High · 7.5 CVE-2021-26813 EUVD-2021-0118GHSA-jr9p-r423-9m2rPYSEC-2021-20

markdown2 Regular Expression Denial of Service

Published Mar 3, 2021 · Updated Aug 3, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-markdown2 2.3.10-1.1 —
Debian 13 python-markdown2 2.3.10-1.1 —
Debian 12 python-markdown2 2.3.10-1.1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-markdown2 No fix yet —
Ubuntu 26.04 LTS python-markdown2 No fix yet —
Ubuntu 25.10 python-markdown2 No fix yet —
Ubuntu 24.04 LTS python-markdown2 No fix yet —
Ubuntu 22.04 LTS python-markdown2 No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS python-markdown2 No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP2 python-markdown2 2.4.0-bp152.2.4.1 openSUSE-SU-2021:0451-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-markdown2 2.4.0-2.4 openSUSE-SU-2026:12016-1, openSUSE-SU-2024:14146-1, openSUSE-SU-2024:11237-1
openSUSE Leap 15.2 python-markdown2 2.4.0-lp152.2.3.1 openSUSE-SU-2021:0429-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI markdown2 >= 1.0.1.18, < 2.4.0 2.4.0 GHSA-jr9p-r423-9m2r

Advisories 5

References