Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-59887: CWE-407: Inefficient Algorithmic Complexity in markdown-it linkify-it

0
High
VulnerabilityCVE-2026-59887cvecve-2026-59887cwe-407
Published: 07/08/2026 (07/08/2026, 15:58:12 UTC)
Source: CVE Database V5
Vendor/Project: markdown-it
Product: linkify-it

Description

CVE-2026-59887 is a high-severity vulnerability in the linkify-it library used by markdown-it. Prior to version 5.0.2, the mailto: schema validator could be triggered repeatedly on crafted input, causing quadratic CPU consumption. This inefficient algorithmic complexity leads to a denial-of-service condition by exhausting CPU resources. The issue is fixed in version 5.0.2.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

linkify-it
pkg:npm/linkify-it
Affected versions
<5.0.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/08/2026, 16:43:31 UTC

Technical Analysis

The vulnerability in linkify-it affects versions before 5.0.2 where the mailto: schema validator, invoked by the .test() and .match() functions, scans input through src_email_name in lib/re.mjs. This scanning can be triggered at every mailto: occurrence, resulting in O(n^2) CPU consumption on specially crafted user input. This is classified as CWE-407 (Inefficient Algorithmic Complexity). The vulnerability can cause denial of service due to high CPU usage. The fix was introduced in version 5.0.2.

Potential Impact

An attacker can cause denial of service by supplying crafted input that triggers the mailto: schema validator repeatedly, leading to quadratic CPU consumption and potential service disruption. There is no impact on confidentiality or integrity, only availability is affected.

Mitigation Recommendations

Upgrade to linkify-it version 5.0.2 or later, where this issue is fixed. No other mitigation or temporary workaround is documented. Patch status is not explicitly stated but the fix is included in version 5.0.2.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-07T16:40:07.983Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4e7ad4c9d9e3dbe36a7d63

Added to database: 07/08/2026, 16:29:08 UTC

Last enriched: 07/08/2026, 16:43:31 UTC

Last updated: 07/09/2026, 01:11:15 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses