CVE-2026-118694

NameCVE-2026-118694
Descriptionpython-markdown2 through 2.5.5 contains a denial of service vulnerability that allows remote users to exhaust CPU by submitting Markdown with unclosed inline link destinations. Attackers can submit repeated '[a](' or '![a](' sequences, causing _find_balanced to rescan the remaining document for each link and consume quadratic CPU time.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-markdown2 (PTS)bookworm2.4.1-1vulnerable
trixie2.4.11-1vulnerable
forky, sid2.5.4-4vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-markdown2source(unstable)(unfixed)

Notes

https://github.com/trentm/python-markdown2/issues/750
https://github.com/trentm/python-markdown2/pull/751

Search for package or bug name: Reporting problems