Skip to content
OpenAdvisories
High · 7.5 CVE-2026-59887 EUVD-2026-42321GHSA-v245-v573-v5vm

linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text

Published Jul 8, 2026 · Updated Jul 9, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
markdown-it linkify-it < 5.0.2 —

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.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling argo-workflows-ui-4.0 4.0.11-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm linkify-it < 5.0.2 5.0.2 GHSA-v245-v573-v5vm

Advisories 3

References