CVE-2026-59887
published high CVSS 3.1 · 7.5linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| markdown-it | — | linkify-it< 5.0.2 | Affected | Not stated | GitHub_M |
Description
linkify-it is a links recognition library with full Unicode support. Prior to 5.0.2, the mailto: schema validator used by .test() and .match() can be invoked at every mailto: occurrence and scan the remaining input through src_email_name in lib/re.mjs, causing O(n^2) CPU consumption on crafted user text. This issue is fixed in version 5.0.2.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| markdown-it | linkify-it | < 5.0.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-407 CWE-407: Inefficient Algorithmic Complexity
References
3Provider assertions
2GitHub_M · cna
linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 50162f4a63ce5ff44387c9905167707072293c2bec12ee4f00630a25c4c4dffd
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record