cve.bz

CVE-2026-59887 markdown-it linkify-it: Inefficient Algorithmic Complexity

7.5 highExploit referenceEPSS 0.5%Fix available

High (7.5) in markdown-it linkify-it. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in linkify-it 5.0.2.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-07-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-407 Inefficient Algorithmic Complexity
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-59887 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-59887?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-59887?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-59887 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
markdown-it:linkify-itbefore 5.0.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v245-v573-v5vmnpmlinkify-it<5.0.25.0.2

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important denial of service vulnerability in the `linkify-it` library. Systems processing untrusted user-supplied text containing specially crafted `mailto:` links may experience excessive CPU consumption due to a quadratic complexity issue in the `mailto:` schema validator, leading to temporary service disruption.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Cluster Observability Operator 1.5cluster-observability-operator/monitoring-console-plugin-pf5-rhel9:1790854526Fixed 2026-10-01RHSA-2026:74609
Cluster Observability Operator 1.5cluster-observability-operator/monitoring-console-plugin-pf6-rhel9:1790854528Fixed 2026-10-01RHSA-2026:74609
Cluster Observability Operator 1.5cluster-observability-operator/monitoring-console-plugin-rhel9:1790854525Fixed 2026-10-01RHSA-2026:74609
Migration Toolkit for Virtualization 2.10migration-toolkit-virtualization/mtv-console-plugin-rhel9:1791248996Fixed 2026-10-15RHSA-2026:83663
Migration Toolkit for Virtualization 2.11migration-toolkit-virtualization/mtv-console-plugin-rhel9:1791616415Fixed 2026-10-15RHSA-2026:83662
Red Hat OpenShift AI 3.4rhoai/odh-feature-server-rhel9:1791863220Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift Container Platform 4.14openshift4/ose-monitoring-plugin-rhel8:1792894511Fixed 2026-10-27RHSA-2026:89839
Red Hat OpenShift Container Platform 4.16openshift4/ose-monitoring-plugin-rhel9:1792881187Fixed 2026-10-27RHSA-2026:89715
Red Hat OpenShift Dev Spaces 3.30devspaces/openvsx-rhel9:1789144269Fixed 2026-09-17RHSA-2026:68754
Red Hat OpenShift Dev Spaces 3.30devspaces/pluginregistry-rhel9:1788883179Fixed 2026-09-17RHSA-2026:68754
Node HealthCheck Operatorworkload-availability/node-healthcheck-must-gather-rhel9Affected
Node HealthCheck Operatorworkload-availability/node-healthcheck-operator-bundleAffected
Node HealthCheck Operatorworkload-availability/node-healthcheck-rhel9-operatorAffected
Node HealthCheck Operatorworkload-availability/node-remediation-console-rhel8Affected
Node HealthCheck Operatorworkload-availability/node-remediation-console-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-pf5-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel9Affected
Red Hat Build of Podman Desktoprh-podman-desktop.gitNot affected
Red Hat Ceph Storage 9thriftFix deferred
Red Hat Developer Hub 1rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backendNot affected
21 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-59887.

References

Check your stackJSON