SecurityContext

CVE-2026-118694: python-markdown2 - Denial of Service

  • Cve: CVE-2026-118694
  • Name: python-markdown2 - Denial of Service
  • Description: python-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.
  • Impact: Remote attackers can exhaust CPU resources causing denial of service.
  • Remediation: Update to the latest version of python-markdown2.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00453
  • Epss percentile: 0.39831
  • Assignee: [email protected]
  • Published at: 2026-10-28T22:17:13Z
  • Age in days: 27
  • Modified at: 2026-10-29T18:17:28Z
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-118694
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-407Inefficient Algorithmic Complexity

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/trentm/python-markdown2
https://github.com/trentm/python-markdown2/blob/2.5.5/lib/markdown2.py#L1478-L1492
https://github.com/trentm/python-markdown2/blob/2.5.5/lib/markdown2.py#L3029
https://github.com/trentm/python-markdown2/issues/750
https://github.com/trentm/python-markdown2/pull/751
https://www.vulncheck.com/advisories/python-markdown2-through-2.5.5-denial-of-service-via-unclosed-inline-link-destinations

Products

ProductAffectedPlatform boundSourcesUrl
python-markdown2_project:python-markdown2<= 2.5.5nocna/v1/products/python-markdown2_project/python-markdown2

Projects

RepositoryLink kindsIndexedUrl
trentm/python-markdown2issues, pullyes/v1/repositories/trentm/python-markdown2

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts