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…
EPSS 0.3%top 73%

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

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.

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/16/2026, 10:07:03 UTC

Technical Analysis

The vulnerability in linkify-it (a link recognition library with full Unicode support) involves the mailto: schema validator used by the .test() and .match() functions. Before version 5.0.2, each mailto: occurrence triggers scanning of the remaining input via src_email_name in lib/re.mjs, resulting in O(n^2) CPU usage on crafted user text. This inefficient algorithmic complexity can cause high CPU consumption, potentially leading to denial of service conditions. The fix was implemented in version 5.0.2.

Potential Impact

The vulnerability causes high CPU consumption (denial of service) when processing crafted input containing multiple mailto: links. There is no impact on confidentiality or integrity, but availability can be severely affected due to resource exhaustion.

Mitigation Recommendations

Upgrade to linkify-it version 5.0.2 or later, where this issue is fixed. Patch status is confirmed by the version fix noted in the description. No other mitigations are specified.

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/16/2026, 10:07:03 UTC

Last updated: 08/22/2026, 15:35:30 UTC

Views: 101

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